1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/commits/a03ea4880a71/ Changeset: a03ea4880a71 User: dan Date: 2014-04-15 20:24:14 Summary: Allow copying Histories directly from the list of Saved Histories. Affected #: 1 file diff -r f7983ecf5ea7c15e5c4235f079e86943576fbdba -r a03ea4880a7117156cead39eecb658ca1da301b3 lib/galaxy/webapps/galaxy/controllers/history.py --- a/lib/galaxy/webapps/galaxy/controllers/history.py +++ b/lib/galaxy/webapps/galaxy/controllers/history.py @@ -91,6 +91,7 @@ grids.GridOperation( "Switch", allow_multiple=False, condition=( lambda item: not item.deleted ), async_compatible=True ), grids.GridOperation( "View", allow_multiple=False ), grids.GridOperation( "Share or Publish", allow_multiple=False, condition=( lambda item: not item.deleted ), async_compatible=False ), + grids.GridOperation( "Copy", allow_multiple=False, condition=( lambda item: not item.deleted ), async_compatible=False ), grids.GridOperation( "Rename", condition=( lambda item: not item.deleted ), async_compatible=False, inbound=True ), grids.GridOperation( "Delete", condition=( lambda item: not item.deleted ), async_compatible=True ), grids.GridOperation( "Delete Permanently", condition=( lambda item: not item.purged ), confirm="History contents will be removed from disk, this cannot be undone. Continue?", async_compatible=True ), @@ -237,6 +238,8 @@ show_deleted=history.deleted, use_panels=False ) ) #return self.view( trans, id=kwargs['id'], show_deleted=history.deleted, use_panels=False ) + if operation == 'copy' and kwargs.get( 'id', None ): + return self.copy( trans, id=kwargs.get( 'id', None ) ) history_ids = galaxy.util.listify( kwargs.get( 'id', [] ) ) # Display no message by default status, message = None, None Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.