diff options
| author | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-12-18 09:11:57 +0000 |
|---|---|---|
| committer | robin <robin@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-12-18 09:11:57 +0000 |
| commit | 751a2f9187255625c1b3cc7f7dfb02547e858fcf (patch) | |
| tree | 4415fde869c65d47717da859e6596b87b1eed2f5 /roundcubemail/program/js | |
| parent | 48a5e46f62a5da5b282a11dceefeeef5b79564f9 (diff) | |
Fix display of quota image/text after a remote command.
git-svn-id: https://svn.roundcube.net/trunk@414 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/js')
| -rw-r--r-- | roundcubemail/program/js/app.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index 4bb261cda..55e38bfda 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/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); }; |
