mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Added User Web State control on config.json.
This commit is contained in:
parent
84964bead4
commit
dadb3ae1d4
5 changed files with 18 additions and 19 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue