Merge pull request #5354 from nextcloud/backport-5315-stable12
[stable12] execute eval in global scope, addresses #5314
This commit is contained in:
commit
bd444c4951
|
@ -371,7 +371,7 @@ var OCP = {},
|
|||
url: path,
|
||||
cache: true,
|
||||
success: function (content) {
|
||||
eval(content);
|
||||
window.eval(content);
|
||||
if(ready) {
|
||||
ready();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue