diff --git a/interface/web/themes/default/assets/javascripts/ispconfig.js b/interface/web/themes/default/assets/javascripts/ispconfig.js index ff6dc681dc4d4601b9e8190fe512cde68b741a7a..26cfb0a9e4e577be1e2b00dcd427637e32f1c8c0 100644 --- a/interface/web/themes/default/assets/javascripts/ispconfig.js +++ b/interface/web/themes/default/assets/javascripts/ispconfig.js @@ -176,7 +176,7 @@ var ISPConfig = { ISPConfig.onAfterContentLoad(target, $('#'+formname).serialize()); ISPConfig.pageFormChanged = false; } - clearTimeout(dataLogTimer); + clearTimeout(ISPConfig.dataLogTimer); ISPConfig.dataLogNotification(); ISPConfig.hideLoadIndicator(); }, @@ -285,7 +285,7 @@ var ISPConfig = { ISPConfig.onAfterContentLoad(pagename, (params ? params : null)); ISPConfig.pageFormChanged = false; } - clearTimeout(dataLogTimer); // clear running dataLogTimer + clearTimeout(ISPConfig.dataLogTimer); // clear running dataLogTimer ISPConfig.dataLogNotification(); ISPConfig.hideLoadIndicator(); }, @@ -514,12 +514,12 @@ var ISPConfig = { $('.modal-body').html(dataLogItems.join("")); $('.notification_text').text(data['count']); $('.notification').css('display',''); - dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 2000 ); + ISPConfig.dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 2000 ); } else { $('.notification').css('display','none'); $('.modal-body').html(''); $('#datalogModal').modal('hide'); - dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 5000 ); + ISPConfig.dataLogTimer = setTimeout( function() { ISPConfig.dataLogNotification(); }, 5000 ); } }, error: function() { diff --git a/interface/web/themes/default/assets/javascripts/ispconfig.min.js b/interface/web/themes/default/assets/javascripts/ispconfig.min.js deleted file mode 100644 index e118b994b0b4cc5c1592b86c465e04fcade91796..0000000000000000000000000000000000000000 --- a/interface/web/themes/default/assets/javascripts/ispconfig.min.js +++ /dev/null @@ -1 +0,0 @@ -var ISPConfig={pageFormChanged:!1,tabChangeWarningTxt:"",tabChangeDiscardTxt:"",tabChangeWarning:!1,tabChangeDiscard:!1,requestsRunning:0,indicatorCompleted:!1,registeredHooks:new Array,new_tpl_add_id:0,dataLogTimer:0,options:{useLoadIndicator:!1,useComboBox:!1},setOption:function(a,b){ISPConfig.options[a]=b},setOptions:function(a){$.extend(ISPConfig.options,a)},reportError:function(){},registerHook:function(a,b){ISPConfig.registeredHooks[a]||(ISPConfig.registeredHooks[a]=new Array);var c=ISPConfig.registeredHooks[a].length;ISPConfig.registeredHooks[a][c]=b},callHook:function(a,b){if(ISPConfig.registeredHooks[a])for(var c=0;c