diff --git a/sapl/templates/sessao/expedientemateria_list.html b/sapl/templates/sessao/expedientemateria_list.html
index b7d6870a9..bbcec93b6 100644
--- a/sapl/templates/sessao/expedientemateria_list.html
+++ b/sapl/templates/sessao/expedientemateria_list.html
@@ -2,7 +2,6 @@
{% load i18n %}
{% load common_tags %}
-
{% block more_buttons %}
{% if perms|get_add_perm:view %}
@@ -25,46 +24,54 @@
{% endblock more_buttons %}
-{% block extra_js %}
+{% block base_content %}
+ {{ block.super }}
+ {% if perms|get_add_perm:view %}
+ {% if enable_btn %}
+
+ {% endif %}
+ {% endif %}
+
+{% endblock base_content %}
-
+ setTimeout(function(){ window.location.reload(true) }, 500);
+ }
+ });
+ $(window).on('beforeunload', function () {
+ $('tbody').sortable('disable');
+ $("input[type=submit], input[type=button]").prop("disabled", "disabled");
+ });
+
{% endblock %}
diff --git a/sapl/templates/sessao/ordemdia_list.html b/sapl/templates/sessao/ordemdia_list.html
index cf5b1fed4..79bd3ace1 100644
--- a/sapl/templates/sessao/ordemdia_list.html
+++ b/sapl/templates/sessao/ordemdia_list.html
@@ -2,7 +2,6 @@
{% load i18n %}
{% load common_tags %}
-
{% block more_buttons %}
{% if perms|get_add_perm:view %}
@@ -24,45 +23,54 @@
{% endblock more_buttons %}
-{% block extra_js %}
+{% block base_content %}
+ {{ block.super }}
+ {% if perms|get_add_perm:view %}
+ {% if enable_btn %}
+
+ {% endif %}
+ {% endif %}
+
+{% endblock base_content %}
-
-
+ $('tbody').sortable('disable');
+ $("input[type=submit], input[type=button]").prop("disabled", "disabled");
+ });
+
{% endblock %}