forked from extern/egroupware
Fix for a rare case when selectbox with row in ID and options with label+title didn't work
This commit is contained in:
parent
2bc84411e2
commit
ebd061ea96
@ -129,6 +129,13 @@ var et2_selectbox = et2_inputWidget.extend({
|
||||
{
|
||||
content_options = null;
|
||||
}
|
||||
// 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)
|
||||
{
|
||||
name_parts.pop();
|
||||
content_options = this.getArrayMgr("sel_options").getEntry(name_parts.join('['));
|
||||
delete content_options["$row"];
|
||||
}
|
||||
|
||||
// Select options tend to be defined once, at the top level, so try that
|
||||
if(!content_options || content_options.length == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user