summaryrefslogtreecommitdiff
path: root/web-ui/app/js/services/mail_service.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/services/mail_service.js')
-rw-r--r--web-ui/app/js/services/mail_service.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/js/services/mail_service.js b/web-ui/app/js/services/mail_service.js
index a63d517e..412451cb 100644
--- a/web-ui/app/js/services/mail_service.js
+++ b/web-ui/app/js/services/mail_service.js
@@ -246,7 +246,7 @@ define(
this.trigger(document, events.mails.available, _.merge({tag: this.attr.currentTag, forSearch: this.attr.lastQuery }, this.parseMails(data)));
}.bind(this))
.fail(function () {
- this.trigger(document, events.ui.userAlerts.displayMessage, { message: i18n('Could not fetch messages') });
+ this.trigger(document, events.ui.userAlerts.displayMessage, { message: i18n('Could not fetch messages'), class: 'error' });
}.bind(this));
};