summaryrefslogtreecommitdiff
path: root/program/js
diff options
context:
space:
mode:
authorsvncommit <devs@roundcube.net>2006-12-18 09:11:57 +0000
committersvncommit <devs@roundcube.net>2006-12-18 09:11:57 +0000
commit23796ec2909bf9cb3ae846f9d124a1098672c5ff (patch)
treea7e579c977d414541ced08424b20413253ad7462 /program/js
parent04d6304b4d1b272d5cd533abfbc2240d8ce77c38 (diff)
Fix display of quota image/text after a remote command.
Diffstat (limited to 'program/js')
-rw-r--r--program/js/app.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/program/js/app.js b/program/js/app.js
index 4bb261cda..55e38bfda 100644
--- a/program/js/app.js
+++ b/program/js/app.js
@@ -3040,10 +3040,14 @@ function rcube_webmail()
};
// replace content of quota display
- this.set_quota = function(text)
+ this.set_quota = function()
{
- if (this.gui_objects.quotadisplay)
- this.gui_objects.quotadisplay.innerHTML = text;
+ if (this.gui_objects.quotadisplay &&
+ this.gui_objects.quotadisplay.attributes.getNamedItem('display') &&
+ this.gui_objects.quotadisplay.attributes.getNamedItem('id'))
+ this.http_request('quotadisplay', '_display='+
+ this.gui_objects.quotadisplay.attributes.getNamedItem('display').nodeValue+
+ '&_id='+this.gui_objects.quotadisplay.attributes.getNamedItem('id').nodeValue, false);
};