replace eval with Function constructor to quiten rollup warning

This commit is contained in:
Ralf Becker 2021-07-02 15:27:46 +02:00
parent 96dff06453
commit cfd11cf821

View File

@ -292,7 +292,7 @@ egw.extend('open', egw.MODULE_WND_LOCAL, function(_egw, _wnd)
var url = _link;
if (url.indexOf('javascript:') == 0)
{
eval(url.substr(11));
(new Function(url.substr(11)))();
return;
}
if (url.indexOf('mailto:') == 0)