Adjust body after new AJAX content

Signed-off-by: Roberto Rosario <Roberto.Rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-08-28 03:25:29 -04:00
parent f303cdfe95
commit 54769bf22a
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@
<div class="row zero-margin">
<div class="col-xs-12">
{% common_check_sqlite as check_sqlite %}
{% if common_check_sqlite or 1 %}
{% if common_check_sqlite %}
<div class="alert alert-dismissible alert-warning">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<p><strong>{% trans 'Warning' %}</strong> {{ check_sqlite }}</p>

View File

@@ -117,11 +117,11 @@
MayanImage.intialize({
templateInvalidDocument: '{% spaceless %}{% include "documents/invalid_document.html" %}{% endspaceless %}'
});
app.doBodyAdjust();
app.doToastrMessages();
app.resizeFullHeight();
app.setupSelect2();
app.setupScrollView();
}
jQuery(document).ready(function() {