diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-06-12 15:52:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-12 15:52:55 -0500 |
commit | 6b3b3417753b61f61477699fa766e5d65cfa202d (patch) | |
tree | 4d697021a7e8ed3086f6e99e1465ad9b40e9dc24 /core/js | |
parent | 9c629eaf0ec7082f1fac19d2713c52243b6b8c08 (diff) | |
parent | 944738c71d0b47b26223251f942e06045ae6286e (diff) | |
download | nextcloud-server-6b3b3417753b61f61477699fa766e5d65cfa202d.tar.gz nextcloud-server-6b3b3417753b61f61477699fa766e5d65cfa202d.zip |
Merge pull request #5315 from nextcloud/global-eval
execute eval in global scope, addresses #5314
Diffstat (limited to 'core/js')
-rw-r--r-- | core/js/js.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); } |