Merge pull request #1063 from Shoprunners/patch-1

MO:blocklayered
This commit is contained in:
Jérôme Nadaud committed 2013-12-02 02:06:03 -08:00
commit 2bdca4668e
1 file changed
+3 -1
+3 -1
View File
@@ -328,8 +328,10 @@ function openCloseFilter()
function stopAjaxQuery() { function stopAjaxQuery() {
if (typeof(ajaxQueries) == 'undefined') if (typeof(ajaxQueries) == 'undefined')
ajaxQueries = new Array(); ajaxQueries = new Array();
for(i = 0; i < ajaxQueries.length; i++) for(i = 0; i < ajaxQueries.length; i++) {
if (typeof ajaxQueries[i] != 'undefined')
ajaxQueries[i].abort(); ajaxQueries[i].abort();
}
ajaxQueries = new Array(); ajaxQueries = new Array();
} }