From a2049621c7283f81fe50b78ab701ddf6a6bd5870 Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Thu, 10 Apr 2014 14:19:28 +0200 Subject: [PATCH] Allow plugins to define custom attachment classes --- program/js/app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/program/js/app.js b/program/js/app.js index 5fe58702d..095f16ee2 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -1947,7 +1947,9 @@ function rcube_webmail() html = ' '; } else if (c == 'attachment') { - if (/application\/|multipart\/(m|signed)/.test(flags.ctype)) + if (flags.attachmentClass) + html = ' '; + else if (/application\/|multipart\/(m|signed)/.test(flags.ctype)) html = ' '; else if (/multipart\/report/.test(flags.ctype)) html = ' ';