diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index a60d44c5d1..70a0ec3e37 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -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)