3637: add copy selected items functionality to project selection dropdown.
[arvados.git] / apps / workbench / app / views / application / _choose.js.erb
index c482b4597efb70e5b531b88d9ac75caa8de0851f..b91a6193204c26e0b903079fac8a9c39c614013d 100644 (file)
@@ -1,4 +1,4 @@
-<% session[:selected_move_items] = params['move_items'] if params['move_items'] %>
+<% session[:selected_move_or_copy_items] = params['move_or_copy_items'] if params['move_or_copy_items'] %>
 $('body > .modal-container').html("<%= escape_javascript(render partial: 'choose.html', locals: {multiple: multiple}) %>");
 $('body > .modal-container .modal').modal('show');
 $('body > .modal-container .modal .modal-footer .btn-primary').