DataObjects/pman.links.ini
[Pman.Core] / Pman.Dialog.CoreProject.bjs
index 328c8ec..934d487 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-130",
+    "id": "roo-file-131",
     "name": "Pman.Dialog.CoreProject",
     "parent": "",
     "title": "",
@@ -70,7 +70,7 @@
                                     "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{desc}</b> </div>",
                                     "triggerAction": "all",
                                     "typeAhead": true,
-                                    "valueField": "id",
+                                    "valueField": "code",
                                     "width": 200,
                                     "xtype": "ComboBox",
                                     "|xns": "Roo.form",
@@ -89,7 +89,7 @@
                                         "add": "function (combo)\n{\n Pman.Dialog.Companies.show( {  id: 0 },  function(data) {\n            _this.form.setValues({ \n                client_id : data.id,\n                client_id_name : data.name\n            });\n        }); \n}"
                                     },
                                     "allowBlank": "false",
-                                    "displayField": "code",
+                                    "displayField": "name",
                                     "editable": "false",
                                     "emptyText": "Select Company",
                                     "fieldLabel": "Client",
                                     "name": "client_id_name",
                                     "pageSize": 20,
                                     "qtip": "Select Companies",
-                                    "queryParam": "query[code]",
+                                    "queryParam": "query[name]",
                                     "selectOnFocus": true,
                                     "tpl": "<div class=\"x-grid-cell-text x-btn button\"><b>{name}</b> </div>",
                                     "triggerAction": "all",