-
- Downloads
reworked polling in JavaScript (pollerdash.js)
This to fix fast reloads on dashboard page, replaces setTimeout() with setInterval() to simplify the code, adds error message "Loading..." to indicate lost connection, remove error dialog of DataTable, merge poller.js and pollerdash.js, which had similar (duplicated) code.
Showing
- flowspec/static/b3theme/js/jquery-1.10.2.js 0 additions, 6 deletionsflowspec/static/b3theme/js/jquery-1.10.2.js
- flowspec/static/js/jquery-3.6.0.min.js 2 additions, 0 deletionsflowspec/static/js/jquery-3.6.0.min.js
- flowspec/static/js/jquery-3.6.0.min.map 1 addition, 0 deletionsflowspec/static/js/jquery-3.6.0.min.map
- templates/base.html 1 addition, 1 deletiontemplates/base.html
- templates/dashboard.html 1 addition, 0 deletionstemplates/dashboard.html
- templates/poller.js 0 additions, 182 deletionstemplates/poller.js
- templates/pollerdash.js 93 additions, 75 deletionstemplates/pollerdash.js
- templates/user_routes.html 7 additions, 1 deletiontemplates/user_routes.html
Loading
Please register or sign in to comment