Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.bjs
index 05d8ffa..aa2779b 100644 (file)
@@ -66,7 +66,7 @@
                                                 "render": "function (_self)\n{\n    _this.etypeCombo = _self;\n}"
                                             },
                                             "alwaysQuery": true,
-                                            "displayField": "comptype_name",
+                                            "displayField": "name",
                                             "emptyText": "Select Type",
                                             "fieldLabel": "Type",
                                             "forceSelection": true,
@@ -79,7 +79,7 @@
                                             "qtip": "Select type",
                                             "queryParam": "query[name]",
                                             "selectOnFocus": true,
-                                            "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{comptype_name}</b> </div>",
+                                            "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
                                             "triggerAction": "all",
                                             "typeAhead": false,
                                             "valueField": "name",