diff options
Diffstat (limited to 'program')
-rw-r--r-- | program/js/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/program/js/app.js b/program/js/app.js index 810b154ab..3d24ad921 100644 --- a/program/js/app.js +++ b/program/js/app.js @@ -5593,7 +5593,7 @@ function rcube_webmail() // save message in order to display after page loaded if (type != 'loading') this.pending_message = [msg, type, timeout]; - return false; + return 1; } type = type ? type : 'notice'; @@ -5655,6 +5655,9 @@ function rcube_webmail() if (this.is_framed()) return parent.rcmail.hide_message(obj, fade); + if (!this.gui_objects.message) + return; + var k, n, i, msg, m = this.messages; // Hide message by object, don't use for 'loading'! |