Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.js
index c6da189..9da01b3 100644 (file)
@@ -151,14 +151,15 @@ Pman.Dialog.CoreCompanies = {
                                                 }
                                             },
                                             alwaysQuery : true,
-                                            displayField : 'name',
+                                            displayField : 'comptype_name',
                                             editable : 'false',
-                                            emptyText : "Select pulldown",
+                                            emptyText : "Select Type",
                                             fieldLabel : 'Type',
                                             forceSelection : true,
                                             listWidth : 250,
                                             loadingText : "Searching...",
                                             minChars : 2,
+                                            name : 'comptype_name',
                                             pageSize : 20,
                                             qtip : "Select type",
                                             queryParam : 'query[name]',
@@ -166,8 +167,8 @@ Pman.Dialog.CoreCompanies = {
                                             tpl : '<div class="x-grid-cell-text x-btn button"><b>{name}</b> </div>',
                                             triggerAction : 'all',
                                             typeAhead : false,
-                                            valueField : 'name',
-                                            width : 300,
+                                            valueField : 'val',
+                                            width : 200,
                                             store : {
                                                 xtype: 'Store',
                                                 xns: Roo.data,