Automatic refresh after change of settings
routes/api.js - check error on return from server public/javascripts/global.js - reload pages with new values after save at settings public/javascripts/map.js - removed status.loaded=true after call to laodAll public/javascripts/showcharts.js - also load live at loadAll
This commit is contained in:
@@ -98,7 +98,7 @@ export async function showChart(params, typ, container) {
|
||||
|
||||
export const loadAll = async (params) => {
|
||||
console.log('now load all in Background')
|
||||
for (let i = 2; i < tabtable.length; i++) {
|
||||
for (let i = 1; i < tabtable.length; i++) {
|
||||
let ok = await showChart(params, tabtable[i].type, tabtable[i].container)
|
||||
if (!ok) {
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user