Pman.Tab.GroupsList.js
[Pman.Core] / Pman.Tab.GroupsList.js
index bf91aa8..3a2cbe4 100644 (file)
@@ -17,7 +17,7 @@ Pman.Tab.GroupsList.prototype = {
     type : 0,
     disabled : false,
     add : function(parentLayout, region) {
-        
+        return;
         var _this = this;
         
         var refreshPager = function() {
@@ -223,7 +223,7 @@ Pman.Tab.GroupsList.prototype = {
                     sels.push(data.selections[i].data.id);
                 }
                 
-                Pman.request({
+                new Pman.Request({
                     url: baseURL + '/Core/GroupMembers.php',
                     params: {
                         action : action,
@@ -306,7 +306,7 @@ Pman.Tab.GroupsList.prototype = {
                                 Ext.MessageBox.alert("Error", "You can not rename that group");
                                 return;
                             }
-                            if (s.data.id < 1) {
+                            if (s[0].data.id < 1) {
                                 Ext.MessageBox.alert("Error", "You can not rename that group");
                                 return;
                             }