Fix bad value in selectbox 'blank' option

This commit is contained in:
Nathan Gray 2013-08-21 15:59:42 +00:00
parent e572d77693
commit eb1be53297

View File

@ -331,8 +331,7 @@ var et2_selectbox = et2_inputWidget.extend(
// Add the empty label // Add the empty label
if(this.options.empty_label) if(this.options.empty_label)
{ {
this._appendOptionElement("" == this.value ? "selected" : "", this._appendOptionElement("", this.options.empty_label);
this.options.empty_label);
} }
// Set multiple // Set multiple