Browse Source

Improved checkAttachmentReference().

Martin Edenhofer 9 years ago
parent
commit
59975b5371
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/assets/javascripts/app/lib/app_post/utils.coffee

+ 1 - 1
app/assets/javascripts/app/lib/app_post/utils.coffee

@@ -541,7 +541,7 @@ class App.Utils
   @checkAttachmentReference: (message) ->
     return false if !message
     return true if message.match(/attachment/i)
-    matchwords = ['Attachment', 'attachment', 'Attached', 'attached', 'Enclosed', 'enclosed']
+    matchwords = ['Attachment', 'attachment', 'Attached', 'attached', 'Enclosed', 'enclosed', 'Enclosure', 'enclosure']
     for word in matchwords
 
       # en