X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5b953c11c79e63cbbe0a08037c429f3f7ed0ff13..2666c3b726d190511f072db9e6606a1a99936968:/apps/workbench/app/views/application/_choose.js.erb diff --git a/apps/workbench/app/views/application/_choose.js.erb b/apps/workbench/app/views/application/_choose.js.erb index d85e566f14..9638028940 100644 --- a/apps/workbench/app/views/application/_choose.js.erb +++ b/apps/workbench/app/views/application/_choose.js.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + <% =begin @@ -14,7 +18,9 @@ action_data_form_params -- array -- for each X in this array, the value of params[X] during this "show chooser" request will be in $(btn).data('action-data-from-params')[X]. -=end %> +=end +%> + $('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').