X-Git-Url: http://git.roojs.org/?p=Pman.Admin;a=blobdiff_plain;f=Pman.Tab.AdminContactsGroup.js;h=c248e6115b7dda2a1d25f9b386ea790531d5b160;hp=b6411e1300175e2508b08681133d07f635921e1e;hb=HEAD;hpb=1e313e7811d9ca4bd9f535e557f30def5376497b diff --git a/Pman.Tab.AdminContactsGroup.js b/Pman.Tab.AdminContactsGroup.js index b6411e1..c248e61 100644 --- a/Pman.Tab.AdminContactsGroup.js +++ b/Pman.Tab.AdminContactsGroup.js @@ -10,10 +10,10 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({ 'ec211f7c20af43e742bf2570c3cb84f9' :"Add", 'a37ede293936e29279ed543129451ec3' :"Groups", '7dce122004969d56ae2e0245cb754d35' :"Edit", - 'b891a85b57a6261132a613eabd235f32' :"Manage Groups????", '4d1c8263ba1036754f8db14a98f9f006' :"Reload", 'f2a6c498fb90ee345d997f888fce3b18' :"Delete", - '49ee3087348e8d44e1feda1917443987' :"Name" + '49ee3087348e8d44e1feda1917443987' :"Name", + 'aba9f7d7443652e858969bfc280690b1' :"Manage Groups" }, part : ["Admin", "ContactsGroup" ], @@ -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() { @@ -83,7 +83,7 @@ Pman.Tab.AdminContactsGroup = new Roo.XComponent({ items : [ { xtype : 'Button', - text : _this._strings['b891a85b57a6261132a613eabd235f32'] /* Manage Groups???? */, + text : _this._strings['aba9f7d7443652e858969bfc280690b1'] /* Manage Groups */, xns : Roo.Toolbar, '|xns' : 'Roo.Toolbar', menu : { @@ -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' },