summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-06-09 20:20:59 +0200
committerAleksander Machniak <alec@alec.pl>2012-06-09 20:20:59 +0200
commitdb8110c70d40b4e8864292f94c19248bb5a63b67 (patch)
treea6bee0a440f198f5ca12bd9bc424764100df8d11
parentba1fb0510fbf8826d74cc239051e0f5ea8c7c42a (diff)
Display attachment icon for multipart/signed messages (#1488525)
-rw-r--r--program/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js
index a5c7db441..3bb6a0e50 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -1827,7 +1827,7 @@ function rcube_webmail()
html = '<span id="flagicn'+uid+'" class="'+css_class+'">&nbsp;</span>';
}
else if (c == 'attachment') {
- if (/application\/|multipart\/m/.test(flags.ctype))
+ if (/application\/|multipart\/(m|signed)/.test(flags.ctype))
html = '<span class="attachment">&nbsp;</span>';
else if (/multipart\/report/.test(flags.ctype))
html = '<span class="report">&nbsp;</span>';