Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.js
index e7af906..9a7cc79 100644 (file)
@@ -151,7 +151,7 @@ Pman.Dialog.CoreCompanies = {
                                                 }
                                             },
                                             alwaysQuery : true,
-                                            displayField : 'name',
+                                            displayField : 'comptype_name',
                                             editable : 'false',
                                             emptyText : "Select Type",
                                             fieldLabel : 'Type',
@@ -166,7 +166,7 @@ Pman.Dialog.CoreCompanies = {
                                             tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
                                             triggerAction : 'all',
                                             typeAhead : false,
-                                            valueField : 'name',
+                                            valueField : 'val',
                                             width : 200,
                                             store : {
                                                 xtype: 'Store',