Merge pull request #1063 from Shoprunners/patch-1

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