Fix bug where one selectbox's empty label could get added to all

This commit is contained in:
Nathan Gray 2012-06-13 15:15:31 +00:00
parent ed9985197a
commit d156f20492

View File

@ -452,7 +452,7 @@ var et2_selectbox = et2_inputWidget.extend({
// Re-add empty, it's usually not there // Re-add empty, it's usually not there
if(this.options.empty_label) if(this.options.empty_label)
{ {
_options[''] = this.options.empty_label; this._appendOptionElement('', this.options.no_lang ? this.options.empty_label : this.egw().lang(this.options.empty_label));
} }
// Add the select_options // Add the select_options