retard proof the restore button
This commit is contained in:
parent
b4fbd6cb20
commit
48391c0723
1 changed files with 1 additions and 1 deletions
|
@ -801,7 +801,7 @@ buttons.ctrlAltDel.addEventListener('click', () => {
|
||||||
voteyesbtn.addEventListener('click', () => vm.voteReset(true));
|
voteyesbtn.addEventListener('click', () => vm.voteReset(true));
|
||||||
votenobtn.addEventListener('click', () => vm.voteReset(false));
|
votenobtn.addEventListener('click', () => vm.voteReset(false));
|
||||||
// Staff buttons
|
// Staff buttons
|
||||||
buttons.restore.addEventListener('click', () => vm.admin.restore());
|
buttons.restore.addEventListener('click', () => {if (window.confirm("Do you really want to restore the VM?")) vm.admin.restore()});
|
||||||
buttons.reboot.addEventListener('click', () => vm.admin.reboot());
|
buttons.reboot.addEventListener('click', () => vm.admin.reboot());
|
||||||
buttons.clearQueue.addEventListener('click', () => vm.admin.clearQueue());
|
buttons.clearQueue.addEventListener('click', () => vm.admin.clearQueue());
|
||||||
buttons.bypassTurn.addEventListener('click', () => vm.admin.bypassTurn());
|
buttons.bypassTurn.addEventListener('click', () => vm.admin.bypassTurn());
|
||||||
|
|
Loading…
Reference in a new issue