forked from extern/egroupware
Check for content options first
This commit is contained in:
parent
35617cba73
commit
eac76facda
@ -130,7 +130,7 @@ var et2_selectbox = et2_inputWidget.extend({
|
|||||||
content_options = null;
|
content_options = null;
|
||||||
}
|
}
|
||||||
// We could wind up too far inside options if label,title are defined
|
// We could wind up too far inside options if label,title are defined
|
||||||
if(!isNaN(name_parts[name_parts.length -1]) && content_options.label && content_options.title)
|
if(content_options && !isNaN(name_parts[name_parts.length -1]) && content_options.label && content_options.title)
|
||||||
{
|
{
|
||||||
name_parts.pop();
|
name_parts.pop();
|
||||||
content_options = this.getArrayMgr("sel_options").getEntry(name_parts.join('['));
|
content_options = this.getArrayMgr("sel_options").getEntry(name_parts.join('['));
|
||||||
|
Loading…
Reference in New Issue
Block a user