mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
Fixed last connect time and user consent dialog.
This commit is contained in:
@@ -7183,14 +7183,14 @@
|
||||
if (serverinfo.consent & 0x0010) { Q('d20flag4').checked = true; }
|
||||
if (serverinfo.consent & 0x0004) { Q('d20flag5').checked = true; }
|
||||
if (serverinfo.consent & 0x0020) { Q('d20flag6').checked = true; }
|
||||
if (serverinfo.consent & 0x0040) { Q('d20flag7').checked = true; }
|
||||
if (debugmode) { if (serverinfo.consent & 0x0040) { Q('d20flag7').checked = true; } }
|
||||
QE('d20flag1', !(serverinfo.consent & 0x0001));
|
||||
QE('d20flag2', !(serverinfo.consent & 0x0008));
|
||||
QE('d20flag3', !(serverinfo.consent & 0x0002));
|
||||
QE('d20flag4', !(serverinfo.consent & 0x0010));
|
||||
QE('d20flag5', !(serverinfo.consent & 0x0004));
|
||||
QE('d20flag6', !(serverinfo.consent & 0x0020));
|
||||
QE('d20flag7', !(serverinfo.consent & 0x0040));
|
||||
if (debugmode) { QE('d20flag7', !(serverinfo.consent & 0x0040)); }
|
||||
}
|
||||
}
|
||||
|
||||
@@ -7202,7 +7202,7 @@
|
||||
if (Q('d20flag4').checked) { consent += 0x0010; }
|
||||
if (Q('d20flag5').checked) { consent += 0x0004; }
|
||||
if (Q('d20flag6').checked) { consent += 0x0020; }
|
||||
if (Q('d20flag7').checked) { consent += 0x0040; }
|
||||
if (debugmode) { if (Q('d20flag7').checked) { consent += 0x0040; } }
|
||||
meshserver.send({ action: 'editmesh', meshid: currentMesh._id, consent: consent });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user