This commit is contained in:
Damian Mooyman 2019-04-15 14:01:34 +12:00
parent 5123361b5b
commit ad3c58f2d8
No known key found for this signature in database
GPG Key ID: 4327857F75021D92

View File

@ -109,10 +109,13 @@
$.ajax({ $.ajax({
dataType: 'script', dataType: 'script',
url: newJsInclude, url: newJsInclude,
success: function() { complete: function() {
self._ondemand_loaded_list[newJsInclude] = 1; self._ondemand_loaded_list[newJsInclude] = 1;
getScriptQueue(); getScriptQueue();
}, },
error: function(xhr, status, error) {
console.error(error);
},
cache: false, cache: false,
// jQuery seems to override the XHR objects if used in async mode // jQuery seems to override the XHR objects if used in async mode
async: false async: false