mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Fix history renaming on Saved Histories grid
This commit is contained in:
@@ -177,7 +177,8 @@ class HistoryController( BaseController, Sharable, UsesAnnotations, UsesHistory
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user