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

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

index 686e740..4cfa77b 100644 (file)
@@ -67,7 +67,7 @@
                                                 "select": "function (combo, record, index)\n{\n    _this.grid.footer.onClick('first');\n}"
                                             },
                                             "alwaysQuery": true,
-                                            "displayField": "name",
+                                            "displayField": "comptype_name",
                                             "emptyText": "Select Type",
                                             "fieldLabel": "Type",
                                             "forceSelection": true,
index 17ca8a5..2844e21 100644 (file)
@@ -127,7 +127,7 @@ Pman.Dialog.CoreCompanies = {
                                                 }
                                             },
                                             alwaysQuery : true,
-                                            displayField : 'name',
+                                            displayField : 'comptype_name',
                                             emptyText : "Select Type",
                                             fieldLabel : 'Type',
                                             forceSelection : true,