Browse Source

Remove verificação de form através do path

pull/3206/head
Vinícius Cantuária 5 years ago
parent
commit
4b37051c2a
  1. 5
      sapl/templates/norma/normajuridica_form.html

5
sapl/templates/norma/normajuridica_form.html

@ -17,10 +17,6 @@
numero_materia: numero_materia,
ano_materia: ano_materia
}, (data, status) => {
if ($(location).attr('pathname').split("/")[2] == "create") {
$("#id_ementa").val(data.ementa);
$("#id_indexacao").val(data.indexacao);
} else {
$("#id_fundo_confirmacao_mudanca_ementa_indexacao").fadeIn();
$("#id_sim_mudanca_ementa_indexacao").click(() => {
$("#id_ementa").val(data.ementa);
@ -30,7 +26,6 @@
$("#id_nao_mudanca_ementa_indexacao").click(() => {
$("#id_fundo_confirmacao_mudanca_ementa_indexacao").hide();
});
}
});
}
}

Loading…
Cancel
Save