From 30c631fa1f972cc5049aca7e0c626433ab614c71 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 12 Sep 2012 15:35:32 +0800 Subject: [PATCH] Pman.Dialog.CoreCompanies.bjs Pman.Dialog.CoreCompanies.js --- Pman.Dialog.CoreCompanies.bjs | 4 ++-- Pman.Dialog.CoreCompanies.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Pman.Dialog.CoreCompanies.bjs b/Pman.Dialog.CoreCompanies.bjs index b24f9271..0a12bcc7 100644 --- a/Pman.Dialog.CoreCompanies.bjs +++ b/Pman.Dialog.CoreCompanies.bjs @@ -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": "
{comptype_name}
", "triggerAction": "all", "typeAhead": false, - "valueField": "val", + "valueField": "name", "width": 200, "xtype": "ComboBox", "|xns": "Roo.form", diff --git a/Pman.Dialog.CoreCompanies.js b/Pman.Dialog.CoreCompanies.js index 3e5a72b5..677d59d2 100644 --- a/Pman.Dialog.CoreCompanies.js +++ b/Pman.Dialog.CoreCompanies.js @@ -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 : '
{comptype_name}
', triggerAction : 'all', typeAhead : false, - valueField : 'val', + valueField : 'name', width : 200, store : { xtype: 'Store', -- 2.39.2