Unlock UI even if no message display object exists

pull/46/merge
Thomas Bruederli 12 years ago
parent e27a61a50d
commit a8f4960c99

@ -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'!

Loading…
Cancel
Save