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