Make async
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
980ef89dbf
commit
fea2108710
|
@ -374,8 +374,7 @@ var OCP = {},
|
||||||
success: function (content) {
|
success: function (content) {
|
||||||
eval(content);
|
eval(content);
|
||||||
ready();
|
ready();
|
||||||
},
|
}
|
||||||
async: false
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
deferred = jQuery.ajax({
|
deferred = jQuery.ajax({
|
||||||
|
@ -383,8 +382,7 @@ var OCP = {},
|
||||||
cache: true,
|
cache: true,
|
||||||
success: function (content) {
|
success: function (content) {
|
||||||
eval(content);
|
eval(content);
|
||||||
},
|
}
|
||||||
async: false
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
OC.addScript.loaded[path] = deferred;
|
OC.addScript.loaded[path] = deferred;
|
||||||
|
|
Loading…
Reference in New Issue