Merge pull request #5354 from nextcloud/backport-5315-stable12

[stable12] execute eval in global scope, addresses #5314
This commit is contained in:
Joas Schilling 2017-06-13 10:41:36 +02:00 committed by GitHub
commit bd444c4951
1 changed files with 1 additions and 1 deletions

View File

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