DataObjects/Core_domain.php
[Pman.Core] / Pman.Tab.GroupsList.js
index bf91aa8..3b16601 100644 (file)
@@ -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;
                             }