mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 12:52:54 -05:00
Added User Web State control on config.json.
This commit is contained in:
@@ -1128,6 +1128,7 @@
|
||||
var webState = '{{{webstate}}}';
|
||||
if (webState != '') { webState = JSON.parse(decodeURIComponent(webState)); }
|
||||
for (var i in webState) { localStorage.setItem(i, webState[i]); }
|
||||
if (webState.deviceView != null) { localStorage.setItem('_deviceView', webState.deviceView); }
|
||||
if (!webState.loctag) { try { delete localStorage.removeItem('loctag'); } catch (ex) { } }
|
||||
|
||||
var args, urlargs;
|
||||
|
||||
Reference in New Issue
Block a user