diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-07-31 10:22:32 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-07-31 10:22:32 +0000 |
| commit | 295f8920b1f24bb3c558f61491a20e8b2c582be6 (patch) | |
| tree | 503e803392070d4aefb48314b4922ab30cab1111 | |
| parent | a881c61ad69c8c16ab787958689ea73326f68281 (diff) | |
Don't replace error messages with loading info (#1486300)
git-svn-id: https://svn.roundcube.net/trunk@3847 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/js/app.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/roundcubemail/program/js/app.js b/roundcubemail/program/js/app.js index c4ddb21e2..2f7b55b6e 100644 --- a/roundcubemail/program/js/app.js +++ b/roundcubemail/program/js/app.js @@ -1018,9 +1018,10 @@ function rcube_webmail() if (msg == message) msg = 'Loading...'; - this.display_message(msg, 'loading', true); + if (this.gui_objects.message && this.gui_objects.message.__type != 'error') + this.display_message(msg, 'loading', true); } - else if (!a) + else if (!a && this.gui_objects.message && this.gui_objects.message.__type != 'error') this.hide_message(); this.busy = a; @@ -4489,6 +4490,7 @@ function rcube_webmail() cont = '<div class="'+type+'">'+cont+'</div>'; var obj = $(this.gui_objects.message).html(cont).show(); + this.gui_objects.message.__type = type; if (type!='loading') obj.bind('mousedown', function(){ ref.hide_message(); return true; }); |
