mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-24 06:05:53 -05:00
Fixed star device webapp update.
This commit is contained in:
parent
8cd7139c3e
commit
84a379ce71
@ -1140,6 +1140,7 @@
|
||||
updateDevices();
|
||||
if (Q('SearchInput').value == '*') { onSearchInputChanged(); }
|
||||
}
|
||||
if (currentNode) { refreshDevice(currentNode._id); }
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -2499,7 +2499,11 @@
|
||||
if ((webstate.loctag != null) && (webstate.loctag != oldLoctag)) { if (webstate.loctag != null) { args.locale = webstate.loctag; } else { delete args.locale; } mainUpdate(0xFFFFFFFF); }
|
||||
if ((webstate.nightMode != null) && (webstate.nightMode != oldNightMode)) { nightMode = (webstate.nightMode == '1'); if (nightMode) { QC('body').add('night'); QS('body')['background-color'] = '#000'; } else { QC('body').remove('night'); QS('body')['background-color'] = '#d3d9d6'; } }
|
||||
if ((webstate.footerBar != null) && (webstate.footerBar != oldFooterBar)) { footerBar = (webstate.footerBar == '1'); QS('container')['grid-template-rows'] = null; QS('container')['-ms-grid-rows'] = null; adjustPanels(); }
|
||||
if ((webstate.stars != null) && (webstate.stars != JSON.stringify(stars))) { stars = JSON.parse(webstate.stars); if (Q('SearchInput').value == '*') { mainUpdate(5); } else { mainUpdate(4); } }
|
||||
if ((webstate.stars != null) && (webstate.stars != JSON.stringify(stars))) {
|
||||
stars = JSON.parse(webstate.stars);
|
||||
if (Q('SearchInput').value == '*') { mainUpdate(5); } else { mainUpdate(4); }
|
||||
if (currentNode) { refreshDevice(currentNode._id); }
|
||||
}
|
||||
}
|
||||
} catch (ex) {}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user