Still need to translate empty_label in selectbox widget for cases like when we do have "options" as an extra item for select_options

This commit is contained in:
Hadi Nategh 2014-05-07 13:03:14 +00:00
parent b3ebc04ae5
commit 0691903105

View File

@ -628,7 +628,7 @@ var et2_selectbox = et2_inputWidget.extend(
// Empty label should not be added as an option for chosen, it conflicts // Empty label should not be added as an option for chosen, it conflicts
if(this.options.empty_label && !(this.options.tags || this.options.search)) if(this.options.empty_label && !(this.options.tags || this.options.search))
{ {
this._appendOptionElement('',this.options.empty_label); this._appendOptionElement('',this.egw().lang(this.options.empty_label));
} }
// Add the select_options // Add the select_options