Pman.Dialog.Image.bjs
authoredward <edward@roojs.com>
Mon, 28 Aug 2017 09:40:24 +0000 (17:40 +0800)
committeredward <edward@roojs.com>
Mon, 28 Aug 2017 09:40:24 +0000 (17:40 +0800)
Pman.Dialog.Image.js

Pman.Dialog.Image.bjs
Pman.Dialog.Image.js

index ea3b243..c6412ba 100644 (file)
@@ -97,7 +97,7 @@
          "emptyText" : "Select image type",
          "hiddenName" : "imgtype",
          "minChars" : 2,
-         "valueField" : "id",
+         "valueField" : "name",
          "xtype" : "ComboBox",
          "allowBlank" : true,
          "typeAhead" : true,
index 93c452d..a6c7468 100644 (file)
@@ -333,7 +333,7 @@ Pman.Dialog.Image = {
           tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{display_name}</b> {name}</div>',
           triggerAction : 'all',
           typeAhead : true,
-          valueField : 'id',
+          valueField : 'name',
           width : 250,
           xns : Roo.form,
           '|xns' : 'Roo.form',