This commit is contained in:
Aysam Guerler
2014-02-07 00:06:55 -05:00
+1 -1
View File
@@ -777,7 +777,7 @@ class GridOperation( object ):
return dict( operation=self.label, id=item.id )
def allowed( self, item ):
if self.condition:
return self.condition( item )
return bool(self.condition( item ))
else:
return True