scinote-web/app/views/protocols/protocolsio_import_create.js.erb

3 lines
309 B
Text

$('#modal-import-json-protocol').modal('hide');
$('#protocolsio_preview_modal_target').append("<%= j render(:partial => "protocols/import_export/import_json_protocol_preview_modal", :locals => {:json_object => @json_object,:protocol => @protocol}) %>")
$('#modal-import-json-protocol-preview').modal('show');