Update StackMonkey.ps1

This commit is contained in:
2025-06-30 00:24:16 -04:00
parent a7d855187a
commit b0b1778a2f

View File

@@ -678,6 +678,16 @@ function toggleColumn(col) {
document.addEventListener('DOMContentLoaded', () => {
const master = document.getElementById('installDattoRMM');
if (master) master.addEventListener('change', toggleDattoRMMOptions);
// Fetch sites when the "Enter" key is pressed in the password input field
const passwordField = document.getElementById('Password');
const goButton = document.querySelector("button[onclick='fetchSites()']");
passwordField.addEventListener('keydown', (e) => {
if (e.key === 'Enter') { // Check if the key pressed is 'Enter'
goButton.click(); // Trigger the 'Go' button click
}
});
});
@@ -957,6 +967,8 @@ $script
<button class="exit-button" onclick="endSession()">Exit</button>
<button class="run-button" onclick="triggerInstall()">Run Selected</button>
</div>
</body>
</html>