diff --git a/lib/galaxy/web/framework/helpers/grids.py b/lib/galaxy/web/framework/helpers/grids.py index 52f4d1e84e7..9fbd28c9dda 100644 --- a/lib/galaxy/web/framework/helpers/grids.py +++ b/lib/galaxy/web/framework/helpers/grids.py @@ -423,7 +423,8 @@ class Grid(object): for operation in self.operations: item_dict['operation_config'][operation.label] = { 'allowed' : operation.allowed(item), - 'url_args' : url(**operation.get_url_args(item)) + 'url_args' : url(**operation.get_url_args(item)), + 'target' : operation.target } grid_config['items'].append(item_dict) trans.log_action(trans.get_user(), text_type("grid.view"), context, params) diff --git a/lib/tool_shed/galaxy_install/grids/admin_toolshed_grids.py b/lib/tool_shed/galaxy_install/grids/admin_toolshed_grids.py index 907a7be5f99..31a7bbd5241 100644 --- a/lib/tool_shed/galaxy_install/grids/admin_toolshed_grids.py +++ b/lib/tool_shed/galaxy_install/grids/admin_toolshed_grids.py @@ -168,6 +168,7 @@ class InstalledRepositoryGrid(grids.Grid): tool_shed_install.ToolShedRepository.installation_status.ERROR, tool_shed_install.ToolShedRepository.installation_status.NEW]), allow_multiple=False, + target="center", url_args=dict(controller='admin_toolshed', action='check_for_updates')), grids.GridOperation(label="Install latest revision", @@ -188,7 +189,6 @@ class InstalledRepositoryGrid(grids.Grid): not item.deleted and item.status != tool_shed_install.ToolShedRepository.installation_status.NEW), allow_multiple=True, - target='top', url_args=dict(controller='admin_toolshed', action='deactivate_or_uninstall_repository')), grids.GridOperation(label="Reset to install",