summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-26 16:16:43 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-12-26 16:16:43 +0000
commitb94a2c484b8ed8f81444544f831e3a79b54f3cda (patch)
tree59de043dfc52b6726f020afd7533d716b2291989
parent73e5040c41d0220222ccc6007246b449ff4d8cb2 (diff)
Trigger client event when setting quota; fix plain text quota display
git-svn-id: https://svn.roundcube.net/trunk@5654 208e9e7b-5314-0410-a742-e7e81cd9613c
-rw-r--r--roundcubemail/program/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 1652e44e4..e9301f568 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/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