Update samy.js
This commit is contained in:
12
samy.js
12
samy.js
@@ -756,12 +756,12 @@ document.addEventListener("DOMContentLoaded", () => {
|
|||||||
|
|
||||||
|
|
||||||
// Keep your Datto UI show/hide behavior
|
// Keep your Datto UI show/hide behavior
|
||||||
if (taskId === "installDattoRMM") {
|
// if (taskId === "installDattoRMM") {
|
||||||
const pwdBox = document.getElementById("PasswordContainer");
|
// const pwdBox = document.getElementById("PasswordContainer");
|
||||||
const rmmBox = document.getElementById("dattoRmmContainer");
|
// const rmmBox = document.getElementById("dattoRmmContainer");
|
||||||
if (pwdBox) pwdBox.style.display = checked ? "block" : "none";
|
// if (pwdBox) pwdBox.style.display = checked ? "block" : "none";
|
||||||
if (rmmBox) rmmBox.style.display = checked ? "block" : "none";
|
// if (rmmBox) rmmBox.style.display = checked ? "block" : "none";
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
masterCheckbox.addEventListener("change", updateVisibility);
|
masterCheckbox.addEventListener("change", updateVisibility);
|
||||||
|
|||||||
Reference in New Issue
Block a user