forked from extern/egroupware
Use === to tell the difference between '' and (int)0 keys
This commit is contained in:
parent
1bace180cf
commit
f8352386cb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user