diff --git a/etemplate/js/et2_widget_selectbox.js b/etemplate/js/et2_widget_selectbox.js index 8d418880d2..c5bcd9dc2f 100644 --- a/etemplate/js/et2_widget_selectbox.js +++ b/etemplate/js/et2_widget_selectbox.js @@ -299,7 +299,7 @@ var et2_selectbox = et2_inputWidget.extend( { option.attr("title", _title); } - if(_label == this.options.empty_label || this.options.empty_label == "" && _value == "") + if(_label == this.options.empty_label || this.options.empty_label == "" && _value === "") { // Make sure empty / all option is first option.prependTo(this.input);