4036: when files in a collection are combined, create the new collection in the origi...
[arvados.git] / apps / workbench / app / views / collections / _show_files.html.erb
index 9fdd32b733ce460f57e5e8ea21ded4ea04896052..051fbf4f6244f8ee556ade7cc6dc18199ad1ea45 100644 (file)
@@ -6,7 +6,9 @@
         <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Selection... <span class="caret"></span></button>
         <ul class="dropdown-menu" role="menu">
           <li><%= link_to "Create new collection with selected files", '#',
-                  'data-href' => combine_selected_path,
+                  'data-href' => combine_selected_path(
+                    action_data: {current_project_uuid: @object.owner_uuid}.to_json
+                  ),
                   'data-selection-param-name' => 'selection[]',
                   'data-selection-action' => 'combine-collections',
                   'method' => 'post',