forked from extern/egroupware
fix javascript error stalling Home for _val===undefined
This commit is contained in:
parent
012eee4594
commit
36699ed54b
@ -261,7 +261,7 @@ function et2_checkType(_val, _type, _attr, _widget)
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof _val == "string")
|
||||
if (!_val || typeof _val == "string")
|
||||
{
|
||||
return _val; // get compiled later in widgets own initAttributes, as widget is not yet initialised
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user