941c529b2c
fix #2725
12 lines
377 B
Text
12 lines
377 B
Text
<% if flash.empty? %>
|
|
$('.row.etape.etape-2').hide(300, render_new_siret);
|
|
$('.row.etape.etape-2').slideDown(400);
|
|
<% else %>
|
|
error_form_siret('<%= invalid_siret %>');
|
|
<% end %>
|
|
|
|
<% flash.clear %>
|
|
|
|
function render_new_siret(){
|
|
$('.row.etape.etape-2').html("<%= escape_javascript(render partial: '/dossiers/etapes/etape_2/entreprise', locals: { facade: @facade } ) %>");
|
|
}
|