Uncomment code part that is responsible for removing a permission from the permission...
authorNatasa Kapravelou <akapravelou@gmail.com>
Fri, 21 Jan 2011 09:04:03 +0000 (11:04 +0200)
committerNatasa Kapravelou <akapravelou@gmail.com>
Fri, 21 Jan 2011 09:04:03 +0000 (11:04 +0200)
src/gr/ebs/gss/client/PermissionsList.java

index db7b319..3a1b344 100644 (file)
@@ -167,7 +167,7 @@ public class PermissionsList extends Composite {
        }
        
        /**
-        * Shows the table 
+        * Shows the permission table 
         * 
         * @param aPermissions
         */
@@ -219,10 +219,10 @@ public class PermissionsList extends Composite {
                        permTable.getFlexCellFormatter().setHorizontalAlignment(i, 2, HasHorizontalAlignment.ALIGN_CENTER);
                        permTable.getFlexCellFormatter().setHorizontalAlignment(i, 3, HasHorizontalAlignment.ALIGN_CENTER);
                        i++;            
-               }               
-//             for(; i<permTable.getRowCount(); i++)
-//                     permTable.removeRow(i);
-//             hasChanges = false;
+               }
+               for(; i<permTable.getRowCount(); i++)
+                       permTable.removeRow(i);
+               hasChanges = false;
        }
        
        /**