From fe1bd5f960d85f19ad639d9a4eee9da2aaffaeb8 Mon Sep 17 00:00:00 2001 From: thomascube Date: Mon, 26 Dec 2011 16:16:43 +0000 Subject: [PATCH] Trigger client event when setting quota; fix plain text quota display --- program/js/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program/js/app.js b/program/js/app.js index 1652e44e4..e9301f568 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5582,8 +5582,9 @@ function rcube_webmail() if (typeof content === 'object' && content.type == 'image') this.percent_indicator(this.gui_objects.quotadisplay, content); else - $(this.gui_objects.quotadisplay).html(content); + $(this.gui_objects.quotadisplay).html(content.percent+'%').attr('title', content.title); } + this.triggerEvent('setquota', content); }; // update the mailboxlist