mirror of
https://github.com/roundcube/roundcubemail.git
synced 2026-03-24 08:46:56 +01:00
Don't replace error messages with loading info (#1486300)
This commit is contained in:
@@ -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; });
|
||||
|
||||
Reference in New Issue
Block a user