diff --git a/sapl/templates/base/autor_form.html b/sapl/templates/base/autor_form.html index 5122859cf..49007257d 100644 --- a/sapl/templates/base/autor_form.html +++ b/sapl/templates/base/autor_form.html @@ -15,7 +15,7 @@ $(document).ready(function(){ if (atualizar) $('#id_nome, #id_q, #id_cargo').val(''); $('.div_nome_cargo').removeClass('hidden'); - $("#div_id_autor_related .controls").html(''); + $("#div_id_autor_related > div").html(''); $("[data-application='AutorSearch'], .radiogroup-autor-related").addClass('hidden'); } else { @@ -37,7 +37,7 @@ $(document).ready(function(){ $.get(url, formData).done(function(data) { active('pesquisa'); if (atualizar) { - var radios = $("#div_id_autor_related .form-check").html(''); + var radios = $("#div_id_autor_related > div").html(''); data.results.forEach(function (val, index) { var html_radio = '
'; radios.append(html_radio);