From 8bc4df9e1a54bc77ef968f1c65563c32fc3ad7e4 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 14 Jan 2011 15:45:45 +0800 Subject: [PATCH] Pman.Tab.AdminContactsGroup.js --- Pman.Tab.AdminContactsGroup.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Pman.Tab.AdminContactsGroup.js b/Pman.Tab.AdminContactsGroup.js index 2bcf4f7..422072c 100644 --- a/Pman.Tab.AdminContactsGroup.js +++ b/Pman.Tab.AdminContactsGroup.js @@ -74,14 +74,15 @@ Pman.Tab.AdminContactsGroup = new Roo.util.Observable({ dataSource : { xtype: 'Store', xns: Roo.data, - remoteSort : true, - sortInfo : { field : 'name', direction: 'ASC' }, listeners : { - beforeload : function (_self, options) + beforeload : function (_self, o) { - + o.params = o.params || {}; + o.params.type =2; } }, + remoteSort : true, + sortInfo : { field : 'name', direction: 'ASC' }, proxy : { xtype: 'HttpProxy', xns: Roo.data, -- 2.39.2