mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-07-29 10:10:56 -04:00
fix amt bare-metal checkbox in web ui
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
b770086132
commit
a63a1de2f2
@ -5466,7 +5466,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showAmtAcmSetupEx() {
|
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
|
// Display the Intel AMT scanning dialog box
|
||||||
|
@ -6005,7 +6005,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function showAmtAcmSetupEx() {
|
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
|
// Display the Intel AMT scanning dialog box
|
||||||
|
Loading…
x
Reference in New Issue
Block a user