diff --git a/console/templates/console-spice-full.html b/console/templates/console-spice-full.html index 29e52f9..da7dae1 100644 --- a/console/templates/console-spice-full.html +++ b/console/templates/console-spice-full.html @@ -160,6 +160,11 @@ SpiceHtml5.sendCtrlAltFN(sc, f); return false; } + + function sendCtrlAltDel() { + SpiceHtml5.sendCtrlAltDel(sc); + return false; + } /* SPICE port event listeners window.addEventListener('spice-port-data', function(event) { // Here we convert data to text, but really we can obtain binary data also diff --git a/console/templates/console-spice-lite.html b/console/templates/console-spice-lite.html index 8a359b7..a984063 100644 --- a/console/templates/console-spice-lite.html +++ b/console/templates/console-spice-lite.html @@ -186,6 +186,11 @@ return false; } + function sendCtrlAltDel() { + SpiceHtml5.sendCtrlAltDel(sc); + return false; + } + /* SPICE port event listeners window.addEventListener('spice-port-data', function(event) { // Here we convert data to text, but really we can obtain binary data also @@ -198,7 +203,7 @@ }); */ document.getElementById("fullscreen_button").addEventListener('click', fullscreen); - document.getElementById('ctrlaltdel').addEventListener('click', function () { sendCtrlAltDel(sc); }); + document.getElementById('ctrlaltdel').addEventListener('click', function () { sendCtrlAltDel(); }); document.getElementById('ctrlaltf1').addEventListener('click', function () { sendctrlaltfn(0) }); document.getElementById('ctrlaltf2').addEventListener('click', function () { sendctrlaltfn(1) }); document.getElementById('ctrlaltf3').addEventListener('click', function () { sendctrlaltfn(2) });