X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.AdminContactsGroup.js;h=c248e6115b7dda2a1d25f9b386ea790531d5b160;hp=25e4c017cf04d0db5c6e1aabef20e361a15bee25;hb=HEAD;hpb=edd2f6bb3baa038b8d5cc24da4f34e20f3a950f6 diff --git a/Pman.Tab.AdminContactsGroup.js b/Pman.Tab.AdminContactsGroup.js index 25e4c01..c248e61 100644 --- a/Pman.Tab.AdminContactsGroup.js +++ b/Pman.Tab.AdminContactsGroup.js @@ -23,7 +23,7 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({ name : "Pman.Tab.AdminContactsGroup", disabled : false, permname : '', - _tree : function() + _tree : function(_data) { var _this = this; var MODULE = this; @@ -33,7 +33,7 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({ fitContainer : true, fitToframe : true, region : 'west', - tableName : 'Groups', + tableName : 'core_group', title : _this._strings['a37ede293936e29279ed543129451ec3'] /* Groups */, listeners : { activate : function() { @@ -146,7 +146,7 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({ listeners : { click : function() { - Pman.genericDelete(_this, 'Groups'); + Pman.genericDelete(_this, 'core_group'); } }, xns : Roo.menu, @@ -182,7 +182,10 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({ beforeload : function (_self, o) { o.params = o.params || {}; + o.params.type =2; + + o.params._add_everyone = 1; }, load : function (_self, records, options) { @@ -198,7 +201,7 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({ proxy : { xtype : 'HttpProxy', method : 'GET', - url : baseURL + '/Roo/Groups.php', + url : baseURL + '/Roo/core_group', xns : Roo.data, '|xns' : 'Roo.data' },