Commit eb38720952f2565abb1f165db41f2b4b85479203
1 parent
e81d87503b
Exists in
master
permite seguir añadiendo jurados actualizando el contador al eliminar jurados
Showing
1 changed file
with
2 additions
and
0 deletions
Show diff stats
app/Resources/views/cea/ascenso_mostar.html.twig
... | ... | @@ -283,6 +283,8 @@ |
283 | 283 | success: function (data) { |
284 | 284 | console.log(data); |
285 | 285 | $("#well_" + $(".eliminar_jurado").attr('id')).remove(); |
286 | + cantidad = cantidad + 1; | |
287 | + $("#add_tutor_tutores_ascenso").chosen('destroy').chosen({ max_selected_options: cantidad }); | |
286 | 288 | |
287 | 289 | }, |
288 | 290 | error: function (XMLHttpRequest, textStatus, errorThrown) { | ... | ... |