From d02bcfda86495d2a8e9537c46dbef23c3a040b13 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 9 Jun 2017 13:43:09 +0200 Subject: [PATCH] execute eval in global scope, addresses #5314 unsure whether this is properly supported everywhere, injection is not an option for us Signed-off-by: Arthur Schiwon --- core/js/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/js/js.js b/core/js/js.js index 0a14acd4b6c..ffbe438dc9a 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -371,7 +371,7 @@ var OCP = {}, url: path, cache: true, success: function (content) { - eval(content); + window.eval(content); if(ready) { ready(); }