ftimme
2012-11-29 4607fcd48115e88ab59dc7bc1414e59fb6bb7752
- Bugfix: make sure load indicator gets hidden no matter what is selected in Interface Config.
1 files modified
4 ■■■■ changed files
interface/web/js/scrigo.js.php 4 ●●●● patch | view | raw | blame | history
interface/web/js/scrigo.js.php
@@ -51,15 +51,11 @@
}
function hideLoadIndicator() {
    jQuery.getJSON('sites/ajax_get_json.php'+ '?' + Math.round(new Date().getTime()), {type : "get_use_loadindicator"}, function(data) {
        if(data.useloadindicator == "y"){
            requestsRunning -= 1;
            if(requestsRunning < 1) {
                requestsRunning = 0; // just for the case...
                if(indicatorCompleted == true) jQuery('#ajaxloader').fadeOut('fast', function() { jQuery('#ajaxloader').hide(); } );
            }
        }
    });
}
function onAfterContentLoad() {