From a146f231d12945749e0bb0c3f81289bb37f7e35d Mon Sep 17 00:00:00 2001 From: Cesar Carvalho Date: Tue, 9 Jul 2019 11:00:11 -0300 Subject: [PATCH] HOT-FIX: Muda modal de onblur para onchange em MateriaLegislativa --- sapl/templates/materia/materialegislativa_form.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/templates/materia/materialegislativa_form.html b/sapl/templates/materia/materialegislativa_form.html index 24e322400..2b7896462 100644 --- a/sapl/templates/materia/materialegislativa_form.html +++ b/sapl/templates/materia/materialegislativa_form.html @@ -99,10 +99,10 @@ $("#fundo_modal, #close_model_btn").click(function(){ $("#fundo_modal").hide(); }); $("#meu_modal").click(function(e){ e.stopPropagation(); }); - $("select#id_ano.select.form-control").blur(function(){ + $("select#id_ano.select.form-control").change(function(){ verifica_ano(); }); - $("input#id_data_apresentacao.dateinput.form-control").blur(function(){ + $("input#id_data_apresentacao.dateinput.form-control").change(function(){ verifica_ano(); }); });