mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 08:49:00 +01:00
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)';
|
_code += '(egw,widget,window,document)';
|
||||||
}
|
}
|
||||||
func = new Function('egw', 'widget', 'window', 'document', _code);
|
var func = new Function('egw', 'widget', 'window', 'document', _code);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
_widget.egw().debug('error', 'Error while compiling JS code ', _code);
|
_widget.egw().debug('error', 'Error while compiling JS code ', _code);
|
||||||
return (function() {return false;});
|
return (function() {return false;});
|
||||||
|
Loading…
Reference in New Issue
Block a user