Make async

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-03-26 15:26:10 +02:00
parent 980ef89dbf
commit fea2108710
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 2 additions and 4 deletions

View File

@ -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;