Pman.Tab.AdminNotify.bjs
authorEdward <edward@roojs.com>
Wed, 11 Feb 2015 06:36:56 +0000 (14:36 +0800)
committerEdward <edward@roojs.com>
Wed, 11 Feb 2015 06:36:56 +0000 (14:36 +0800)
Pman.Tab.AdminNotify.js

Pman.Tab.AdminNotify.bjs
Pman.Tab.AdminNotify.js

index aefe0db..e99be92 100644 (file)
                                     "items" : [
                                         {
                                             "listeners" : {
-                                                "|beforeload" : "function (_self, o){\n    o.params = o.params || {};\n    o.params._distinct='person_id';\n    o.params._columns='person_id,person_id_name,person_id_email';\n    o.params['!person_id_name'] = '';\n    \n    // set more here\n}\n"
+                                                "|beforeload" : "function (_self, o){\n    o.params = o.params || {};\n    o.params.evtype = 'Core.NotifyType';\n    o.params.active = 1;\n}\n"
                                             },
                                             "xtype" : "Store",
                                             "remoteSort" : true,
index e664d62..f9da27c 100644 (file)
@@ -336,11 +336,8 @@ Pman.Tab.AdminNotify = new Roo.XComponent({
                                 listeners : {
                                        beforeload : function (_self, o){
                                               o.params = o.params || {};
-                                              o.params._distinct='person_id';
-                                              o.params._columns='person_id,person_id_name,person_id_email';
-                                              o.params['!person_id_name'] = '';
-                                              
-                                              // set more here
+                                              o.params.evtype = 'Core.NotifyType';
+                                              o.params.active = 1;
                                           }
                                 },
                                 items : [