mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-07 04:42:54 -05:00
fix amt bare-metal checkbox in web ui
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -5466,7 +5466,8 @@
|
||||
}
|
||||
|
||||
function showAmtAcmSetupEx() {
|
||||
meshserver.send({ action: 'amtsetupbin', oldmebxpass: Q('dp1password0').value, newmebxpass: Q('dp1password1').value, baremetal: ((features2 & 0x00000020) && (Q('dp1lanprov').checked)) });
|
||||
var baremetal = ((features2 & 0x00000020) && (currentMesh.mtype == 1) && (serverinfo.amtProvServerMeshId == currentMesh._id) && (Q('dp1lanprov').checked));
|
||||
meshserver.send({ action: 'amtsetupbin', oldmebxpass: Q('dp1password0').value, newmebxpass: Q('dp1password1').value, baremetal: baremetal });
|
||||
}
|
||||
|
||||
// Display the Intel AMT scanning dialog box
|
||||
|
||||
@@ -6005,7 +6005,8 @@
|
||||
}
|
||||
|
||||
function showAmtAcmSetupEx() {
|
||||
meshserver.send({ action: 'amtsetupbin', oldmebxpass: Q('dp1password0').value, newmebxpass: Q('dp1password1').value, baremetal: ((features2 & 0x00000020) && (Q('dp1lanprov').checked)) });
|
||||
var baremetal = ((features2 & 0x00000020) && (currentMesh.mtype == 1) && (serverinfo.amtProvServerMeshId == currentMesh._id) && (Q('dp1lanprov').checked));
|
||||
meshserver.send({ action: 'amtsetupbin', oldmebxpass: Q('dp1password0').value, newmebxpass: Q('dp1password1').value, baremetal: baremetal });
|
||||
}
|
||||
|
||||
// Display the Intel AMT scanning dialog box
|
||||
|
||||
Reference in New Issue
Block a user