From 839ed7c7971d02f8e7b535279f64e98b1ae68519 Mon Sep 17 00:00:00 2001 From: Wilmer Date: Thu, 9 Mar 2017 08:41:51 -0400 Subject: [PATCH] =?UTF-8?q?pasar=20la=20validaci=C3=B3n=20a=20Symfony=20de?= =?UTF-8?q?l=20ascenso=20y=20quitar=20las=20alertas=20de=20javascript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Resources/views/solicitudes/ascenso.html.twig | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Resources/views/solicitudes/ascenso.html.twig b/app/Resources/views/solicitudes/ascenso.html.twig index c630c46..83e92f9 100644 --- a/app/Resources/views/solicitudes/ascenso.html.twig +++ b/app/Resources/views/solicitudes/ascenso.html.twig @@ -41,7 +41,7 @@

Requisitos solicitud ascenso {{ nueva_escala.nombre }}

{% form_theme form 'bootstrap_3_layout.html.twig' %} - {{ form_start(form) }} + {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} {{ form_widget(form) }} {{ form_end(form) }}
@@ -141,9 +141,6 @@ $('#ascenso_tipoTrabajoInvestigacion').click(function() { - alert("click"); - - if($('#ascenso_tipoTrabajoInvestigacion').val() === 'investigacion'){ $('.esc_investigacion').show(); $('.esc_tesis').hide(); @@ -153,7 +150,6 @@ $('.esc_tesis').show(); $("#ascenso_tutores_ascenso_chosen").hide(); } - }); @@ -252,7 +248,6 @@ $("#ascenso_tutores_ascenso").on("chosen:ready", function() { $("#ascenso_tutores_ascenso_chosen").hide(); - alert("hidden"); }); -- 2.0.0