Pman.Dialog.CoreCompanies.bjs
[Pman.Core] / Pman.Dialog.CoreCompanies.bjs
index 92ed2b2..b3b1433 100644 (file)
@@ -1,5 +1,5 @@
 {
-    "id": "roo-file-108",
+    "id": "roo-file-203",
     "name": "Pman.Dialog.CoreCompanies",
     "parent": "",
     "title": "",
@@ -13,7 +13,7 @@
             "height": 400,
             "modal": true,
             "shadow": "true",
-            "title": "Edit Company",
+            "title": "Add / Edit Organization",
             "width": 750,
             "xtype": "LayoutDialog",
             "|xns": "Roo",
                                             "emptyText": "Select Type",
                                             "fieldLabel": "Type",
                                             "forceSelection": true,
-                                            "hiddenName": "comptype",
+                                            "hiddenName": "comptype_id",
                                             "listWidth": 250,
                                             "loadingText": "Searching...",
                                             "minChars": 2,
-                                            "name": "comptype_display",
+                                            "name": "comptype",
                                             "pageSize": 20,
                                             "qtip": "Select type",
                                             "queryParam": "query[name]",
@@ -82,7 +82,7 @@
                                             "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,
                                             "xtype": "ComboBox",
                                             "|xns": "Roo.form",