fix javascript error stalling Home for _val===undefined

This commit is contained in:
Ralf Becker 2014-12-11 17:02:52 +00:00
parent 012eee4594
commit 36699ed54b

View File

@ -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
}