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:22 +00:00
parent 3253b6bda1
commit f8821f692f

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);