Pman.Tab.AdminNotify.bjs
[Pman.Admin] / Pman.Tab.AdminNotify.js
index cd8c864..9360340 100644 (file)
@@ -279,7 +279,6 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                             pageSize : 20,
                             displayField : 'person_id_name',
                             emptyText : "Select person",
-                            hiddenName : 'id',
                             minChars : 2,
                             valueField : 'person_id',
                             xtype : 'ComboBox',
@@ -287,8 +286,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                             editable : true,
                             width : 200,
                             xns : Roo.form,
-                            name : 'name',
-                            qtip : "Select core_notify",
+                            qtip : "Select person",
                             queryParam : 'query[person_id_name]',
                             tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{person_id_name}</b> {person_id_email}</div>',
                             loadingText : "Searching...",
@@ -357,8 +355,7 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                             selectOnFocus : true,
                             pageSize : 20,
                             displayField : 'display_name',
-                            emptyText : "Select person",
-                            hiddenName : 'id',
+                            emptyText : "Select notify type",
                             minChars : 2,
                             valueField : 'name',
                             xtype : 'ComboBox',
@@ -367,9 +364,9 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                             width : 200,
                             xns : Roo.form,
                             name : 'name',
-                            qtip : "Select core_notify",
-                            queryParam : 'query[person_id_name]',
-                            tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{person_id_name}</b> {person_id_email}</div>',
+                            qtip : "Select type",
+                            queryParam : 'query[name]',
+                            tpl : '<div class=\"x-grid-cell-text x-btn button\"><b>{display_name}</b></div>',
                             loadingText : "Searching...",
                             listeners : {
                                render : function (_self)