Merge pull request #5315 from nextcloud/global-eval

execute eval in global scope, addresses #5314
This commit is contained in:
Morris Jobke 2017-06-12 15:52:55 -05:00 committed by GitHub
commit 6b3b341775

View file

@ -371,7 +371,7 @@ var OCP = {},
url: path,
cache: true,
success: function (content) {
eval(content);
window.eval(content);
if(ready) {
ready();
}