diff --git a/ui/scripts/ui/dialog.js b/ui/scripts/ui/dialog.js index 82e7fd428c2..50e12f921fc 100644 --- a/ui/scripts/ui/dialog.js +++ b/ui/scripts/ui/dialog.js @@ -274,17 +274,17 @@ id = this[field.valueField]; else id = this.id !== undefined ? this.id : this.name; - var description = this.description; + var desc; if (args.descriptionField) - description = this[args.descriptionField]; + desc = this[args.descriptionField]; else - description = this.description; + desc = _l(this.description); var $option = $('