Pman.Tab.GroupsList.js
[Pman.Core] / Pman.Tab.GroupsList.js
index 702175c..c92c09c 100644 (file)
@@ -155,6 +155,9 @@ Pman.Tab.GroupsList.prototype = {
         this.panel  = parentLayout.add(region,  new Ext.GridPanel(this.grid ,
             { fitToframe: true,fitContainer: true, title: _this.title, id : _this.id, background: true})
         );
+
+        Roo.log(['Groups', parentLayout, this.panel]);
+        
         this.grid.render();
         
         
@@ -306,7 +309,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;
                             }