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