forked from extern/egroupware
Works better if I define the var
This commit is contained in:
parent
b6ea2635d2
commit
e57e994e9d
@ -129,7 +129,7 @@
|
||||
{
|
||||
_code += '(egw,widget,window,document)';
|
||||
}
|
||||
func = new Function('egw', 'widget', 'window', 'document', _code);
|
||||
var func = new Function('egw', 'widget', 'window', 'document', _code);
|
||||
} catch(e) {
|
||||
_widget.egw().debug('error', 'Error while compiling JS code ', _code);
|
||||
return (function() {return false;});
|
||||
|
Loading…
Reference in New Issue
Block a user