mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #8920 from tractorcow/pulls/3.7/backport-parsererror-fix
BUG Back-port silverstripe-admin#769 to 3.7
This commit is contained in:
commit
e57beefb43
@ -109,10 +109,13 @@
|
||||
$.ajax({
|
||||
dataType: 'script',
|
||||
url: newJsInclude,
|
||||
success: function() {
|
||||
complete: function() {
|
||||
self._ondemand_loaded_list[newJsInclude] = 1;
|
||||
getScriptQueue();
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
},
|
||||
cache: false,
|
||||
// jQuery seems to override the XHR objects if used in async mode
|
||||
async: false
|
||||
|
Loading…
Reference in New Issue
Block a user