Browse Source

arrumada identação

pull/2177/head
tapumar@gmail.com 7 years ago
parent
commit
00fb95c186
  1. 9
      sapl/templates/norma/normajuridica_form.html

9
sapl/templates/norma/normajuridica_form.html

@ -13,13 +13,9 @@
var tipo = $('#id_tipo').val()
var ano = $('#id_ano').val()
var numero = $('#id_numero').val()
console.log(tipo, ano, numero)
var ementa = $('#id_ementa').val()
if (tipo_materia && numero_materia && ano_materia) {
$.get("/norma/recuperar-norma",{tipo: tipo,
ano: ano ,
numero : numero},
function(data_norma, status) {
if (data_norma.id === 0){
if (ementa === undefined || ementa === "") {
$.get("/sessao/recuperar-materia",{tipo_materia: tipo_materia,
numero_materia: numero_materia,
ano_materia: ano_materia},
@ -28,7 +24,6 @@
$("#id_indexacao").val(data.indexacao);
});
}
});
}
}

Loading…
Cancel
Save