Author: croberts
Date: 2011-10-25 19:41:16 +0000 (Tue, 25 Oct 2011)
New Revision: 5096
Modified:
trunk/cumin/python/cumin/grid/tags.py
Log:
Fixing bug in BZ 733365 (comment 7). Choosing "Delete" with no tags selected
will no longer bring up the delete form. This is consistent with the behavior on the
Hold/Release/Edit jobs functionality.
Modified: trunk/cumin/python/cumin/grid/tags.py
===================================================================
--- trunk/cumin/python/cumin/grid/tags.py 2011-10-25 19:36:35 UTC (rev 5095)
+++ trunk/cumin/python/cumin/grid/tags.py 2011-10-25 19:41:16 UTC (rev 5096)
@@ -551,7 +551,7 @@
selection = [escape_entity(id) for id in ids]
self.selection.set(session, selection)
- return selection
+ return len(selection)
def process_submit(self, session):
tags_to_kill = self.selection.get(session)
Show replies by date