DataObjects/Core_project.php
[Pman.Core] / Pman.Tab.GroupsList.js
index 7ad15ef..aecb9ca 100644 (file)
@@ -18,7 +18,6 @@ Pman.Tab.GroupsList.prototype = {
     disabled : false,
     add : function(parentLayout, region) {
         
-        Roo.log('run add?????????????????????????????????????????????????');
         var _this = this;
         
         var refreshPager = function() {
@@ -63,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,
@@ -80,6 +79,8 @@ Pman.Tab.GroupsList.prototype = {
                             }
                             o.params.type = _this.type;
                             
+                            o.params._add_everyone = 1;
+                            
                             
                         },
                         load : function()
@@ -225,7 +226,7 @@ Pman.Tab.GroupsList.prototype = {
                 }
                 
                 new Pman.Request({
-                    url: baseURL + '/Core/GroupMembers.php',
+                    url: baseURL + '/Core/GroupMembers', // not a dataobject...
                     params: {
                         action : action,
                         group_id: action =='add' ? rid.id : s[0].data.id,
@@ -332,7 +333,7 @@ Pman.Tab.GroupsList.prototype = {
                             }
                             
                             
-                            Pman.genericDelete(_this, 'Groups'); 
+                            Pman.genericDelete(_this, 'core_group'); 
                         } 
                     } , '-',
                       {