From 732d275ec10ccd01af4002a49e03b04adf629af5 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Wed, 12 Sep 2018 13:45:53 -0400 Subject: [PATCH] Default the AJAX spinner to hidden. Increase the time threshold needed to trigger the AJAX spiiner. Signed-off-by: Roberto Rosario --- mayan/apps/appearance/static/appearance/js/mayan_app.js | 2 +- mayan/apps/appearance/templates/appearance/root.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mayan/apps/appearance/static/appearance/js/mayan_app.js b/mayan/apps/appearance/static/appearance/js/mayan_app.js index 5e3f7695c9..ac6f3179bc 100644 --- a/mayan/apps/appearance/static/appearance/js/mayan_app.js +++ b/mayan/apps/appearance/static/appearance/js/mayan_app.js @@ -240,7 +240,7 @@ class MayanApp { setTimeout( function () { self.callbackAJAXSpinnerUpdate(); - }, 250 + }, 350 ); }); diff --git a/mayan/apps/appearance/templates/appearance/root.html b/mayan/apps/appearance/templates/appearance/root.html index eab18fa7f0..7d36325908 100644 --- a/mayan/apps/appearance/templates/appearance/root.html +++ b/mayan/apps/appearance/templates/appearance/root.html @@ -29,7 +29,7 @@ {% block stylesheets %}{% endblock %} - + {% if appearance_type == 'plain' %} {% block content_plain %}{% endblock %} {% else %}