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 <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
86b4ebc457
commit
d02bcfda86
|
@ -371,7 +371,7 @@ var OCP = {},
|
||||||
url: path,
|
url: path,
|
||||||
cache: true,
|
cache: true,
|
||||||
success: function (content) {
|
success: function (content) {
|
||||||
eval(content);
|
window.eval(content);
|
||||||
if(ready) {
|
if(ready) {
|
||||||
ready();
|
ready();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue