From: edward Date: Mon, 28 Aug 2017 09:40:24 +0000 (+0800) Subject: Pman.Dialog.Image.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=733334006a85faa8d89cdbd89c4a9f42ecb5857b Pman.Dialog.Image.bjs Pman.Dialog.Image.js --- diff --git a/Pman.Dialog.Image.bjs b/Pman.Dialog.Image.bjs index ea3b243b..c6412ba8 100644 --- a/Pman.Dialog.Image.bjs +++ b/Pman.Dialog.Image.bjs @@ -97,7 +97,7 @@ "emptyText" : "Select image type", "hiddenName" : "imgtype", "minChars" : 2, - "valueField" : "id", + "valueField" : "name", "xtype" : "ComboBox", "allowBlank" : true, "typeAhead" : true, diff --git a/Pman.Dialog.Image.js b/Pman.Dialog.Image.js index 93c452de..a6c74683 100644 --- a/Pman.Dialog.Image.js +++ b/Pman.Dialog.Image.js @@ -333,7 +333,7 @@ Pman.Dialog.Image = { tpl : '
{display_name} {name}
', triggerAction : 'all', typeAhead : true, - valueField : 'id', + valueField : 'name', width : 250, xns : Roo.form, '|xns' : 'Roo.form',