forked from extern/egroupware
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;
|
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
|
// 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
|
// a closure to make sure context is preserved
|
||||||
|
Loading…
Reference in New Issue
Block a user