Pman.Tab.GroupsList.js
[Pman.Core] / Pman.Tab.GroupsList.js
index bf04588..4f7a62f 100644 (file)
@@ -18,8 +18,6 @@ Pman.Tab.GroupsList.prototype = {
     disabled : false,
     add : function(parentLayout, region) {
         
-        Roo.log('GroupsList add called!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
-        
         var _this = this;
         
         var refreshPager = function() {
@@ -64,7 +62,7 @@ Pman.Tab.GroupsList.prototype = {
                     
                     
                     proxy: new Ext.data.HttpProxy({
-                        url: baseURL + '/Roo/Groups.html',
+                        url: baseURL + '/Roo/core_group',
                         method: 'GET'
                     }),
                     remoteSort: true,
@@ -81,6 +79,8 @@ Pman.Tab.GroupsList.prototype = {
                             }
                             o.params.type = _this.type;
                             
+                            o.params._add_everyone = 1;
+                            
                             
                         },
                         load : function()
@@ -226,7 +226,7 @@ Pman.Tab.GroupsList.prototype = {
                 }
                 
                 new Pman.Request({
-                    url: baseURL + '/Core/GroupMembers.php',
+                    url: baseURL + '/Core/core_groop_member',
                     params: {
                         action : action,
                         group_id: action =='add' ? rid.id : s[0].data.id,