diff --git a/app/Resources/views/cea/solicitudes_mostar.html.twig b/app/Resources/views/cea/solicitudes_mostar.html.twig index 1415e1a..137c6b2 100644 --- a/app/Resources/views/cea/solicitudes_mostar.html.twig +++ b/app/Resources/views/cea/solicitudes_mostar.html.twig @@ -385,6 +385,7 @@ console.log($(':radio:checked', this)[i]); if ( ($(':radio:checked', this)[i].value == "")) { alert('Debes revisar todos los documentos para poder enviar la solicitud!'); + $(".btn").button('reset'); return false; } @@ -395,6 +396,7 @@ console.log($(':radio:checked', this)[i]); if (($(':radio:checked', this)[i].value == "3")) { alert('No puedes aprobar una solicitud con documentos en estatus de rechazado'); + $(".btn").button('reset'); return false; } @@ -402,5 +404,9 @@ } }); + + $('#motivo_rechazo').on('hidden.bs.modal', function (e) { + $(".btn").button('reset'); + }) {% endblock %} \ No newline at end of file