mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-11 01:04:24 +02:00
fixed image widget uses index.php for not found images
This commit is contained in:
@ -48,7 +48,7 @@
|
||||
var _cname = widget.getPath() ? widget.getPath().join("[") : false;
|
||||
_val = _val.replace(/form::name\(/g, "'"+widget.getRoot()._inst.uniqueId+"_'+"+(_cname ? "et2_form_name('"+_cname+"'," : '('));
|
||||
}
|
||||
|
||||
|
||||
if (_val.indexOf('egw::lang(') != -1)
|
||||
{
|
||||
_val = _val.replace(/egw::lang\(/g,'egw.lang(');
|
||||
@ -96,7 +96,7 @@
|
||||
// Check whether _code is simply "1" -- if yes replace it accordingly
|
||||
if (_code === '1')
|
||||
{
|
||||
_code = 'widget.getInstanceManager().submit(); return true;';
|
||||
_code = 'widget.getInstanceManager().submit(); return false;';
|
||||
}
|
||||
|
||||
// Check whether some pseudo-variables still reside inside of the code,
|
||||
|
Reference in New Issue
Block a user