Pman.Dialog.CoreCompanies.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 23 Oct 2018 02:23:03 +0000 (10:23 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 23 Oct 2018 02:23:03 +0000 (10:23 +0800)
Pman.Dialog.CoreCompanies.js

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

index f238756..70ea94e 100644 (file)
            "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,
index 5dcbb24..e44744a 100644 (file)
@@ -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 : '<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> : {display_name}</div>',
             triggerAction : 'all',
             typeAhead : false,
-            valueField : 'name',
+            valueField : 'id',
             width : 200,
             listeners : {
              render : function (_self)