Commit b5661551 authored by RyanHerb's avatar RyanHerb

index.html, main.js start up indicator

The browser is quite large and can sometimes take some time to download
and start up.
Therfore the "patients" menu entry could sometimes take a long time to
be displayed if at all.
Adding this indicator will let the user know when everything has
finished loading and whether or not a server is configured with the
browser more clearly.
parent a0c6177b
......@@ -257,7 +257,11 @@
<a class="buttonSelector" onclick="changeStyle('solarizeD')">dark</a>
</div></div>
</div>
<div style="float: right; margin: 5px;" id='live-ajax'></div>
<div style="float: right; margin: 5px;" id='live-ajax'>
<div class="active-container">
<img src="images/ajax-loader.gif" />
</div>
</div>
<div id="fps" style="float: right; display: none"> </div>
<div id="header_messages" class="message_container header"></div>
......
......@@ -100,6 +100,7 @@ $(document).ajaxStart(function () {
db.ajax_indicator_stop();
clearTimeout(timeout);
});
db.ajax_indicator_stop()
(function worker(){
db.loadNotifications();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment