summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-12-26 16:16:43 +0000
committerthomascube <thomas@roundcube.net>2011-12-26 16:16:43 +0000
commitfe1bd5f960d85f19ad639d9a4eee9da2aaffaeb8 (patch)
tree60c9d99b81c283faa6a9b776876ef3e2c5595d7b
parent011e8055fe52fa267dc4227861539a2d6d297b6a (diff)
Trigger client event when setting quota; fix plain text quota display
-rw-r--r--program/js/app.js3
1 files changed, 2 insertions, 1 deletions
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