mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 10:27:52 +02:00
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…
x
Reference in New Issue
Block a user