empty-label was not translated if set via (legacy-)options

This commit is contained in:
Ralf Becker 2015-03-20 19:25:51 +00:00
parent 7fa86b19ca
commit dff07e68a5

View File

@ -114,7 +114,7 @@ var et2_selectbox = et2_inputWidget.extend(
{
if(isNaN(this.options.rows))
{
this.options.empty_label = this.options.rows;
this.options.empty_label = this.egw().lang(this.options.rows);
this.options.rows = 1;
}
else