Commit eb38720952f2565abb1f165db41f2b4b85479203

Authored by wilmer
1 parent e81d87503b
Exists in master

permite seguir añadiendo jurados actualizando el contador al eliminar jurados

app/Resources/views/cea/ascenso_mostar.html.twig
@@ -283,6 +283,8 @@ @@ -283,6 +283,8 @@
283 success: function (data) { 283 success: function (data) {
284 console.log(data); 284 console.log(data);
285 $("#well_" + $(".eliminar_jurado").attr('id')).remove(); 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 error: function (XMLHttpRequest, textStatus, errorThrown) { 290 error: function (XMLHttpRequest, textStatus, errorThrown) {