fix an other case were spinner is not removed due to a client-side javascript error

This commit is contained in:
Ralf Becker 2015-10-07 09:32:43 +00:00
parent fe1e719ada
commit fb4c37d027

View File

@ -160,7 +160,7 @@ var fw_browser = Class.extend({
// At least user can close the broken tab and work with the others.
// Define a escape timeout for 5 sec
this.ajaxLoaderDivTimeout = setTimeout(function(){
self.ajaxLoaderDiv.hide().remove();
(self.ajaxLoaderDiv || jQuery('div.loading')).hide().remove();
self.ajaxLoaderDiv = null;
},5000);