mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-27 16:29:22 +01:00
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
|
return _val; // get compiled later in widgets own initAttributes, as widget is not yet initialised
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user