diff --git a/etemplate/js/et2_widget_selectAccount.js b/etemplate/js/et2_widget_selectAccount.js index e3d697d249..4f249ae53f 100644 --- a/etemplate/js/et2_widget_selectAccount.js +++ b/etemplate/js/et2_widget_selectAccount.js @@ -288,7 +288,7 @@ var et2_selectAccount = et2_selectbox.extend( for(var i = 0; i < this.widget.options.select_options.length; i++) { var opt = this.widget.options.select_options[i]; - if(opt && opt.value && opt.value == this.unknown) + if(opt && opt.value && opt.value == this.unknown && opt.label == this.unknown) { opt.label = name; this.widget.set_select_options(this.widget.options.select_options);