From: Chris Date: Wed, 12 Sep 2012 07:35:32 +0000 (+0800) Subject: Pman.Dialog.CoreCompanies.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=30c631fa1f972cc5049aca7e0c626433ab614c71 Pman.Dialog.CoreCompanies.bjs Pman.Dialog.CoreCompanies.js --- 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',