mirror of
https://github.com/nextcloud/server.git
synced 2026-06-12 10:10:49 -04:00
Merge pull request #5354 from nextcloud/backport-5315-stable12
[stable12] execute eval in global scope, addresses #5314
This commit is contained in:
commit
bd444c4951
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