From fe1bd5f960d85f19ad639d9a4eee9da2aaffaeb8 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Mon, 26 Dec 2011 11:16:43 -0500 Subject: [PATCH] Trigger client event when setting quota; fix plain text quota display --- program/js/app.js | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/program/js/app.js b/program/js/app.js index 1652e44..e9301f5 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5582,8 +5582,9 @@ 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 -- Gitblit v1.9.1