From 59975b5371bcd4d48328dd02db95b29ebdb39860 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 29 Apr 2016 14:27:20 +0200 Subject: [PATCH] Improved checkAttachmentReference(). --- app/assets/javascripts/app/lib/app_post/utils.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/lib/app_post/utils.coffee b/app/assets/javascripts/app/lib/app_post/utils.coffee index d9d99a8eb..806c24e5b 100644 --- a/app/assets/javascripts/app/lib/app_post/utils.coffee +++ b/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