[hg] galaxy 3708: hotfix history rename
details: http://www.bx.psu.edu/hg/galaxy/rev/34c1892866d5 changeset: 3708:34c1892866d5 user: Kanwei Li <kanwei@gmail.com> date: Tue Apr 27 17:05:34 2010 -0400 description: hotfix history rename diffstat: lib/galaxy/web/controllers/history.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diffs (13 lines): diff -r 3494d2699076 -r 34c1892866d5 lib/galaxy/web/controllers/history.py --- a/lib/galaxy/web/controllers/history.py Tue Apr 27 15:36:55 2010 -0400 +++ b/lib/galaxy/web/controllers/history.py Tue Apr 27 17:05:34 2010 -0400 @@ -178,7 +178,8 @@ if operation == "share or publish": return self.sharing( trans, **kwargs ) 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 + if 'name' in kwargs: + 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
participants (1)
-
Nate Coraor