Commit b570123bbfa4189ce9f1ee94114a8a2d20d3983c
1 parent
beb220f5d9
Exists in
master
corregido el reinicio del boton al añadir jurados con ajax
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/Resources/views/cea/ascenso_mostar.html.twig
| ... | ... | @@ -187,7 +187,7 @@ |
| 187 | 187 | {{ form_start(form) }} |
| 188 | 188 | {{ form_widget(form) }} |
| 189 | 189 | {{ form_end(form) }} |
| 190 | - <button class="btn btn-primary btn-sm" id="anadirJurados">Añadir Jurados</button> | |
| 190 | + <button class="btn btn-primary btn-sm" data-loading-text="<i class='fa fa-circle-o-notch fa-spin'></i> Añadiendo..." id="anadirJurados">Añadir Jurados</button> | |
| 191 | 191 | {% else %} |
| 192 | 192 | <p id="falta" class="label label-success" data-faltaid = '0'> |
| 193 | 193 | El docente completó los 6 Jurados Propuestos |
| ... | ... | @@ -386,6 +386,7 @@ |
| 386 | 386 | cantidad = cantidad - 1; |
| 387 | 387 | } |
| 388 | 388 | $("#add_tutor_tutores_ascenso").val(""); |
| 389 | + $( "#anadirJurados" ).button('reset'); | |
| 389 | 390 | |
| 390 | 391 | }, |
| 391 | 392 | error: function (XMLHttpRequest, textStatus, errorThrown) { | ... | ... |