Pman.Tab.GroupsList.js
[Pman.Core] / Pman.Tab.GroupsList.js
index 702175c..bf04588 100644 (file)
@@ -18,6 +18,8 @@ Pman.Tab.GroupsList.prototype = {
     disabled : false,
     add : function(parentLayout, region) {
         
+        Roo.log('GroupsList add called!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!');
+        
         var _this = this;
         
         var refreshPager = 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;
                             }