mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
replace eval with Function constructor to quiten rollup warning
This commit is contained in:
parent
96dff06453
commit
cfd11cf821
@ -292,7 +292,7 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
|
|||||||
var url = _link;
|
var url = _link;
|
||||||
if (url.indexOf('javascript:') == 0)
|
if (url.indexOf('javascript:') == 0)
|
||||||
{
|
{
|
||||||
eval(url.substr(11));
|
(new Function(url.substr(11)))();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (url.indexOf('mailto:') == 0)
|
if (url.indexOf('mailto:') == 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user