Commit cedc2103 authored by Robert Ricci's avatar Robert Ricci
Browse files

Use a more robust way to do the dashboard "loop"

The old way was very error-prone; eg. miss an update due to bad network
conditions or hibernation, and that's it, it would stop forever. Use
setInterval() instead so that it keeps going even if there is some
parent 6a8568d6
......@@ -13,6 +13,8 @@ function (_, sup, moment, dashboardString)
isadmin = window.ISADMIN;
......@@ -36,8 +38,6 @@ function (_, sup, moment, dashboardString)
setTimeout(function f() { DashboardLoop() }, 5000);
var xmlthing = sup.CallServerMethod(null, "dashboard",
"GetStats", null);
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