summaryrefslogtreecommitdiff
path: root/roundcubemail/program/js/app.js
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-19 17:46:11 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2010-06-19 17:46:11 +0000
commit23b53e8aa3d401d6afe56ea8bdf0ea739c6ce121 (patch)
tree66a1743e24070596b3e93f19b5931dfde092f893 /roundcubemail/program/js/app.js
parent1cf45acf7078cadae7c97ec9a83f5dfb07cdcc12 (diff)
- Move quota indicator to mailboxlist footer
- Fix groupcontrols on IE6 (use gif) git-svn-id: https://svn.roundcube.net/trunk@3771 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js/app.js')
-rw-r--r--roundcubemail/program/js/app.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js
index 37bec8287..3b5b72725 100644
--- a/roundcubemail/program/js/app.js
+++ b/roundcubemail/program/js/app.js
@@ -4674,7 +4674,7 @@ function rcube_webmail()
this.set_quota = function(content)
{
if (content && this.gui_objects.quotadisplay) {
- if (typeof(content) == 'object')
+ if (typeof(content) == 'object' && content.type == 'image')
this.percent_indicator(this.gui_objects.quotadisplay, content);
else
$(this.gui_objects.quotadisplay).html(content);
@@ -4834,6 +4834,9 @@ function rcube_webmail()
quota = 100;
}
+ if (data.title)
+ data.title = this.get_label('quota') + ': ' + data.title;
+
// main div
var main = $('<div>');
main.css({position: 'absolute', top: pos.top, left: pos.left,
@@ -4864,6 +4867,8 @@ function rcube_webmail()
// replace quota image
$(obj).html('').append(bar1).append(bar2).append(main);
+ // update #quotaimg title
+ $('#quotaimg').attr('title', data.title);
};
/********************************************************/