From dcb709266364a12db300df31997d544bc9dc92c6 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 23 Oct 2018 10:23:03 +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 f238756c..70ea94ec 100644 --- a/Pman.Dialog.CoreCompanies.bjs +++ b/Pman.Dialog.CoreCompanies.bjs @@ -128,9 +128,9 @@ "pageSize" : 20, "emptyText" : "Select Type", "displayField" : "display_name", - "hiddenName" : "comptype_id_display_name", + "hiddenName" : "comptype_id", "minChars" : 2, - "valueField" : "name", + "valueField" : "id", "xtype" : "ComboBox", "typeAhead" : false, "width" : 200, diff --git a/Pman.Dialog.CoreCompanies.js b/Pman.Dialog.CoreCompanies.js index 5dcbb241..e44744a9 100644 --- a/Pman.Dialog.CoreCompanies.js +++ b/Pman.Dialog.CoreCompanies.js @@ -251,7 +251,7 @@ Pman.Dialog.CoreCompanies = { emptyText : _this._strings['023a5dfa857c4aa0156e6685231a1dbd'] /* Select Type */, fieldLabel : _this._strings['a1fa27779242b4902f7ae3bdd5c6d508'] /* Type */, forceSelection : true, - hiddenName : 'comptype_id_display_name', + hiddenName : 'comptype_id', listWidth : 250, loadingText : _this._strings['1243daf593fa297e07ab03bf06d925af'] /* Searching... */, minChars : 2, @@ -263,7 +263,7 @@ Pman.Dialog.CoreCompanies = { tpl : '
{name} : {display_name}
', triggerAction : 'all', typeAhead : false, - valueField : 'name', + valueField : 'id', width : 200, listeners : { render : function (_self) -- 2.39.2