Fixed issue with labels being displayed in dialog

CLOUDSTACK-6368
This commit is contained in:
Chris Suich 2014-04-12 11:14:32 -04:00
parent 418b27576d
commit 390dfb167e
1 changed files with 4 additions and 4 deletions

View File

@ -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 = $('<option>')
.appendTo($input)
.val(_s(id))
.html(_s(description));
.html(_s(desc));
});
if (field.defaultValue) {