mysql/core_notify_trigger_after_update.sql
[Pman.Core] / Pman.Tab.GroupsList.js
index bf91aa8..56e0431 100644 (file)
@@ -79,6 +79,8 @@ Pman.Tab.GroupsList.prototype = {
                             }
                             o.params.type = _this.type;
                             
+                            o.params._add_everyone = 1;
+                            
                             
                         },
                         load : function()
@@ -223,7 +225,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 +308,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;
                             }