mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-14 02:18:31 +02:00
Works better if I define the var
This commit is contained in:
@ -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;});
|
||||
|
Reference in New Issue
Block a user