diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index 3d8d0b10ed..c5545e7fd7 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -148,6 +148,8 @@ var et2_selectbox = et2_inputWidget.extend( if(this.expand_button) { this.expand_button.off(); + this.expand_button.remove(); + this.expand_button = null; } this._super.apply(this, arguments); @@ -622,18 +624,21 @@ var et2_selectbox = et2_inputWidget.extend( } else { - var button_id = this.getInstanceManager().uniqueId+'_'+this.id.replace(/\./g, '-') + "_expand"; - this.expand_button = $j("