details: http://www.bx.psu.edu/hg/galaxy/rev/207d0d70483b changeset: 3673:207d0d70483b user: Kanwei Li <kanwei@gmail.com> date: Tue Apr 20 15:36:03 2010 -0400 description: Fix history renaming on Saved Histories grid diffstat: lib/galaxy/web/controllers/history.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diffs (13 lines): diff -r 18d0d7fd543a -r 207d0d70483b lib/galaxy/web/controllers/history.py --- a/lib/galaxy/web/controllers/history.py Tue Apr 20 13:19:44 2010 -0400 +++ b/lib/galaxy/web/controllers/history.py Tue Apr 20 15:36:03 2010 -0400 @@ -177,7 +177,8 @@ operation = kwargs['operation'].lower() if operation == "share or publish": return self.sharing( trans, **kwargs ) - if operation == "rename": + if operation == "rename" and kwargs.get('id', None): # Don't call rename if no ids + del kwargs['name'] # Remove ajax name param that rename method uses return self.rename( trans, **kwargs ) history_ids = util.listify( kwargs.get( 'id', [] ) ) # Display no message by default