demarches-normaliennes/app/views/admin/procedures/transfer.js.erb

13 lines
414 B
Text
Raw Normal View History

<%- if response.status == 404 %>
transfer_errors_message(true);
<%- else %>
$("#main-container").prepend("<div class='row'><div id='flash_message'></div></div>");
$("#flash_message").prepend("<div class=\"alert alert-success\"> <%= sanitize(flash.notice) %></div>");
2017-06-22 16:46:01 +02:00
<% flash.clear %>
transfer_errors_message(false);
$("#email_admin").val('');
$("#transferModal button#cancel").click();
2017-06-22 16:46:01 +02:00
<%- end %>