From 7d31f8c97c454347b0e0c2f788f4d40b0f370b3e Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Mon, 10 Oct 2016 08:40:32 -0300 Subject: [PATCH] Bug fix --- sapl/templates/sessao/sessaoplenaria_form.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sapl/templates/sessao/sessaoplenaria_form.html b/sapl/templates/sessao/sessaoplenaria_form.html index c18935459..d192d63dc 100644 --- a/sapl/templates/sessao/sessaoplenaria_form.html +++ b/sapl/templates/sessao/sessaoplenaria_form.html @@ -50,12 +50,11 @@ }); $("#id_legislatura").change(function(){ - var id_legislatura = $("#id_legislatura").val(); $("#id_sessao_legislativa option").remove(); if (id_legislatura) { - $.get("/sessao-legislativa-legislatura-ajax", {legislatura: id_legislatura}, function(data) { + $.get("/sessao/sessao-legislativa-legislatura-ajax", {legislatura: id_legislatura}, function(data) { lista_sessoes = data['sessao_legislativa']; $('#id_sessao_legislativa').append('');