This commit is contained in:
yuri
2015-08-06 13:10:42 +03:00
parent ea723742c7
commit 3aca557420
+3
View File
@@ -80,6 +80,9 @@ Espo.define('Views.Fields.Enum', ['Views.Fields.Base', 'lib!Selectize'], functio
if (this.translatedOptions === null) {
this.translatedOptions = this.getLanguage().translate(this.name, 'options', this.model.name) || {};
if (this.translatedOptions === this.name) {
this.translatedOptions = null;
}
}
if (this.params.isSorted && this.translatedOptions) {