From: Chris Date: Wed, 12 Sep 2012 07:33:11 +0000 (+0800) Subject: Pman.Dialog.CoreCompanies.bjs X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=1c7b10f96e57b7633f3330272086c8e0331fb55f Pman.Dialog.CoreCompanies.bjs Pman.Dialog.CoreCompanies.js --- diff --git a/Pman.Dialog.CoreCompanies.bjs b/Pman.Dialog.CoreCompanies.bjs index 686e7407..4cfa77bd 100644 --- a/Pman.Dialog.CoreCompanies.bjs +++ b/Pman.Dialog.CoreCompanies.bjs @@ -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, diff --git a/Pman.Dialog.CoreCompanies.js b/Pman.Dialog.CoreCompanies.js index 17ca8a57..2844e210 100644 --- a/Pman.Dialog.CoreCompanies.js +++ b/Pman.Dialog.CoreCompanies.js @@ -127,7 +127,7 @@ Pman.Dialog.CoreCompanies = { } }, alwaysQuery : true, - displayField : 'name', + displayField : 'comptype_name', emptyText : "Select Type", fieldLabel : 'Type', forceSelection : true,