Update StackMonkey.ps1
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user