Pman.Dialog.CoreCompanies.bjs
authorEdward <edward@roojs.com>
Wed, 16 Apr 2014 10:03:35 +0000 (18:03 +0800)
committerEdward <edward@roojs.com>
Wed, 16 Apr 2014 10:03:35 +0000 (18:03 +0800)
Pman.Dialog.CoreCompanies.js

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

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