mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 00:09:13 +01:00
fix javascript error stalling Home for _val===undefined
This commit is contained in:
parent
f7383f54d1
commit
012eee4594
@ -234,7 +234,7 @@ function et2_checkType(_val, _type, _attr, _widget)
|
||||
{
|
||||
return _val;
|
||||
}
|
||||
_val = _val.replace(/window\.close\(\)/g, 'egw(window).close()');
|
||||
if (_val) _val = _val.replace(/window\.close\(\)/g, 'egw(window).close()');
|
||||
|
||||
// Check to see if it's a string in app.appname.function format, and wrap it in
|
||||
// a closure to make sure context is preserved
|
||||
|
Loading…
Reference in New Issue
Block a user