X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/fd2bc65117ee362ccd1c675947d1b941863b7cf7..18b51b1ff1f40f1c0467f1960b329c7bc317322d:/apps/workbench/app/views/projects/_show_tab_contents.html.erb diff --git a/apps/workbench/app/views/projects/_show_tab_contents.html.erb b/apps/workbench/app/views/projects/_show_tab_contents.html.erb index 9ac3be0c34..df37d3e1c7 100644 --- a/apps/workbench/app/views/projects/_show_tab_contents.html.erb +++ b/apps/workbench/app/views/projects/_show_tab_contents.html.erb @@ -16,18 +16,18 @@ 'data-remote' => true, 'method' => 'delete' %> -
  • <%= link_to "Move selected", '#', - 'data-href' => choose_projects_path( +
  • <%= link_to "Move selected", '#', + 'data-href' => choose_projects_path( title: 'Move to...', editable: true, action_name: 'Move', - action_href: url_for(action: :update), - action_method: 'patch', - action_data: {selection_param: @object.resource_param_name+'[owner_uuid]', + action_href: move_items_project_path, + action_method: 'get', + action_data: {selection_param: 'target', success: 'page-refresh'}.to_json), 'data-remote' => true, - 'data-selection-param-name' => 'uuids[]', - 'data-selection-action' => 'move' + 'data-selection-param-name' => 'move_items[]', + 'data-selection-action' => 'move' %>