From eb38720952f2565abb1f165db41f2b4b85479203 Mon Sep 17 00:00:00 2001 From: wilmer Date: Tue, 7 Feb 2017 11:12:41 -0400 Subject: [PATCH] =?UTF-8?q?permite=20seguir=20a=C3=B1adiendo=20jurados=20a?= =?UTF-8?q?ctualizando=20el=20contador=20al=20eliminar=20jurados?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Resources/views/cea/ascenso_mostar.html.twig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Resources/views/cea/ascenso_mostar.html.twig b/app/Resources/views/cea/ascenso_mostar.html.twig index bb1d893..9bc11c9 100644 --- a/app/Resources/views/cea/ascenso_mostar.html.twig +++ b/app/Resources/views/cea/ascenso_mostar.html.twig @@ -283,6 +283,8 @@ success: function (data) { console.log(data); $("#well_" + $(".eliminar_jurado").attr('id')).remove(); + cantidad = cantidad + 1; + $("#add_tutor_tutores_ascenso").chosen('destroy').chosen({ max_selected_options: cantidad }); }, error: function (XMLHttpRequest, textStatus, errorThrown) { -- 2.0.0