diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index a98060b9f1..3aca8020dd 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -213,6 +213,17 @@ var et2_selectbox = et2_inputWidget.extend( this._appendOptionElement('', this.options.empty_label); } } + if(this.expand_button) + { + if(_multiple) + { + this.expand_button.addClass('ui-icon-minus').removeClass('ui-icon-plus'); + } + else + { + this.expand_button.removeClass('ui-icon-minus').addClass('ui-icon-plus'); + } + } } }, @@ -571,15 +582,18 @@ var et2_selectbox = et2_inputWidget.extend( if (!this.expand_button) { var button_id = this.getInstanceManager().uniqueId+'_'+this.id.replace(/\./g, '-') + "_expand"; - this.expand_button = $j("