setup: Reduce refresh time when application is already installed

In the event setup page is being shown after the application installation is
already completed. Immediately reload instead of waiting for 3 seconds are
usual.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Sunil Mohan Adapa authored and James Valleroy committed 2019-01-14 17:40:26 -05:00
1 parent 65f1af7a7b
commit 915b8013d9
7 files changed
+18 -4

No files matched your search

@@ -81,6 +81,7 @@
{% block page_js %}
{% if is_running %}
<script type="text/javascript" src="{% static 'theme/js/refresh.js' %}"></script>
<script type="text/javascript">refresh();</script>
{% endif %}
{% endblock %}