From 944738c71d0b47b26223251f942e06045ae6286e Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 9 Jun 2017 13:43:09 +0200 Subject: 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(-) (limited to 'core/js') diff --git a/core/js/js.js b/core/js/js.js index 80c62e70116..ee4b03dd99d 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(); } -- cgit v1.2.3