Pman.Dialog.CoreCompanies.bjs
authorChris <chris@roojs.com>
Wed, 12 Sep 2012 07:36:54 +0000 (15:36 +0800)
committerChris <chris@roojs.com>
Wed, 12 Sep 2012 07:36:54 +0000 (15:36 +0800)
Pman.Dialog.CoreCompanies.js

Pman.Dialog.CoreCompanies.bjs
Pman.Dialog.CoreCompanies.js

index 05d8ffa..7d42551 100644 (file)
@@ -82,7 +82,7 @@
                                             "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{comptype_name}</b> </div>",
                                             "triggerAction": "all",
                                             "typeAhead": false,
-                                            "valueField": "name",
+                                            "valueField": "comptype",
                                             "width": 200,
                                             "xtype": "ComboBox",
                                             "|xns": "Roo.form",
index fc0524c..3e5a72b 100644 (file)
@@ -139,7 +139,7 @@ Pman.Dialog.CoreCompanies = {
                                             tpl : '<div class="x-grid-cell-text x-btn button"><b>{comptype_name}</b> </div>',
                                             triggerAction : 'all',
                                             typeAhead : false,
-                                            valueField : 'name',
+                                            valueField : 'val',
                                             width : 200,
                                             store : {
                                                 xtype: 'Store',