From 55fddf1d9623c8448cae6283c310e7880a81a4a3 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 11 Feb 2015 14:36:56 +0800 Subject: [PATCH] Pman.Tab.AdminNotify.bjs Pman.Tab.AdminNotify.js --- Pman.Tab.AdminNotify.bjs | 2 +- Pman.Tab.AdminNotify.js | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Pman.Tab.AdminNotify.bjs b/Pman.Tab.AdminNotify.bjs index aefe0db..e99be92 100644 --- a/Pman.Tab.AdminNotify.bjs +++ b/Pman.Tab.AdminNotify.bjs @@ -155,7 +155,7 @@ "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, diff --git a/Pman.Tab.AdminNotify.js b/Pman.Tab.AdminNotify.js index e664d62..f9da27c 100644 --- a/Pman.Tab.AdminNotify.js +++ b/Pman.Tab.AdminNotify.js @@ -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 : [ -- 2.39.2