Pman.Dialog.CoreCompanies.bjs
authorAlan Knowles <alan@roojs.com>
Wed, 12 Sep 2012 07:53:03 +0000 (15:53 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 12 Sep 2012 07:53:03 +0000 (15:53 +0800)
Pman.Dialog.CoreCompanies.js

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

index 934d46f..1909311 100644 (file)
@@ -82,7 +82,7 @@
                                             "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
                                             "triggerAction": "all",
                                             "typeAhead": false,
-                                            "valueField": "id",
+                                            "valueField": "name",
                                             "width": 200,
                                             "xtype": "ComboBox",
                                             "|xns": "Roo.form",
index aa9f7e7..a6c2ba0 100644 (file)
@@ -139,7 +139,7 @@ Pman.Dialog.CoreCompanies = {
                                             tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
                                             triggerAction : 'all',
                                             typeAhead : false,
-                                            valueField : 'id',
+                                            valueField : 'name',
                                             width : 200,
                                             store : {
                                                 xtype: 'Store',