u(6746));u.O(t)})();
\ No newline at end of file
diff --git a/sapl/static/sapl/frontend/js/global.babaa14f.js.LICENSE.txt b/sapl/static/sapl/frontend/js/global.e8c9c610.js.LICENSE.txt
similarity index 100%
rename from sapl/static/sapl/frontend/js/global.babaa14f.js.LICENSE.txt
rename to sapl/static/sapl/frontend/js/global.e8c9c610.js.LICENSE.txt
diff --git a/sapl/static/sapl/frontend/js/global.e8c9c610.js.gz b/sapl/static/sapl/frontend/js/global.e8c9c610.js.gz
new file mode 100644
index 000000000..0a0689930
Binary files /dev/null and b/sapl/static/sapl/frontend/js/global.e8c9c610.js.gz differ
diff --git a/sapl/templates/base/autor_form.html b/sapl/templates/base/autor_form.html
index 492cb6da7..ed7efd5e0 100644
--- a/sapl/templates/base/autor_form.html
+++ b/sapl/templates/base/autor_form.html
@@ -28,18 +28,18 @@ $(document).ready(function(){
var update_search = function(pk, atualizar=true) {
var q = $('#id_q').val();
- var url = '{% url 'sapl.api:autores_provaveis_list'%}'
+ var url = '{% url 'sapl.api:autor-provaveis'%}'
var formData = {
- 'q' : q,
- 'tipo' : pk
+ q: q,
+ tipo: pk
}
$.get(url, formData).done(function(data) {
active('pesquisa');
if (atualizar) {
var radios = $("#div_id_autor_related > div").html('');
data.results.forEach(function (val, index) {
- var html_radio = '';
+ var html_radio = '';
radios.append(html_radio);
});
@@ -54,7 +54,7 @@ $(document).ready(function(){
}
if (data.pagination.total_entries > 10)
- radios.before('{% trans "Foram encontrados" %} '+data.pagination.total_entries+' {% trans "registros"%}'+' {% trans "mas será mostrado apenas os 10 primeiros resultados. Coloque mais informações no campo pesquisa para refinar sua busca."%}
');
+ radios.before('{% trans "Foram encontrados" %} '+data.pagination.total_entries+' {% trans "registros"%}'+' {% trans "mas será mostrado apenas os 10 primeiros resultados.
Coloque mais informações no campo pesquisa para refinar sua busca."%}
');
else if (data.pagination.total_entries == 0)
radios.before('{% trans "Não foram encontrados registros com os termos de pesquisa informados." %}
');
}
diff --git a/sapl/templates/materia/autoria_form.html b/sapl/templates/materia/autoria_form.html
index 9d2e314af..e15cf829b 100644
--- a/sapl/templates/materia/autoria_form.html
+++ b/sapl/templates/materia/autoria_form.html
@@ -5,15 +5,6 @@
{% block extra_js %}
-
{% endblock %}
diff --git a/sapl/templates/norma/autorianorma_form.html b/sapl/templates/norma/autorianorma_form.html
index 20bbdce2a..5729c0357 100644
--- a/sapl/templates/norma/autorianorma_form.html
+++ b/sapl/templates/norma/autorianorma_form.html
@@ -5,17 +5,7 @@
{% block extra_js %}
{% endblock %}