From dcb75f0d7ca6ef29e098d6ef1e417fe75eafa554 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Mon, 8 Aug 2016 17:53:53 -0300 Subject: [PATCH] =?UTF-8?q?Habilita=20campos=20de=20mat=C3=A9ria=20se=20pr?= =?UTF-8?q?oposi=C3=A7=C3=A3o=20for=20Emenda?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/templates/materia/proposicao_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/templates/materia/proposicao_form.html b/sapl/templates/materia/proposicao_form.html index d71a27b12..996e72258 100644 --- a/sapl/templates/materia/proposicao_form.html +++ b/sapl/templates/materia/proposicao_form.html @@ -34,7 +34,7 @@ $(function () { disable_fields(); $("#id_tipo").change(function() { - if ($("#id_tipo").val() == 9) { // parecer + if ($('#id_tipo option:selected').text() == 'Emenda') { // parecer enable_fields(); }else { disable_fields();