Merge pull request #5315 from nextcloud/global-eval
execute eval in global scope, addresses #5314
This commit is contained in:
commit
6b3b341775
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ var OCP = {},
|
|||
url: path,
|
||||
cache: true,
|
||||
success: function (content) {
|
||||
eval(content);
|
||||
window.eval(content);
|
||||
if(ready) {
|
||||
ready();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue