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

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

index b24f927..0a12bcc 100644 (file)
@@ -66,7 +66,7 @@
                                                 "render": "function (_self)\n{\n    _this.etypeCombo = _self;\n}"
                                             },
                                             "alwaysQuery": true,
-                                            "displayField": "comptype_name",
+                                            "displayField": "name",
                                             "emptyText": "Select Type",
                                             "fieldLabel": "Type",
                                             "forceSelection": true,
@@ -82,7 +82,7 @@
                                             "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{comptype_name}</b> </div>",
                                             "triggerAction": "all",
                                             "typeAhead": false,
-                                            "valueField": "val",
+                                            "valueField": "name",
                                             "width": 200,
                                             "xtype": "ComboBox",
                                             "|xns": "Roo.form",
index 3e5a72b..677d59d 100644 (file)
@@ -123,7 +123,7 @@ Pman.Dialog.CoreCompanies = {
                                                 }
                                             },
                                             alwaysQuery : true,
-                                            displayField : 'comptype_name',
+                                            displayField : 'name',
                                             emptyText : "Select Type",
                                             fieldLabel : 'Type',
                                             forceSelection : true,
@@ -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 : 'val',
+                                            valueField : 'name',
                                             width : 200,
                                             store : {
                                                 xtype: 'Store',