diff --git a/index.html b/index.html index f14305e..64b2344 100644 --- a/index.html +++ b/index.html @@ -16,12 +16,12 @@ - + - - + + - + @@ -978,11 +978,36 @@
-   + + + + + + +   + +
@@ -3098,6 +3123,9 @@ QV('go8', true); // Network Settings // ###BEGIN###{Terminal} QV('go13', false); // Terminal + // ###BEGIN###{!Mode-NodeWebkit} + QE('TermWD', false); + // ###END###{!Mode-NodeWebkit} // ###END###{Terminal} // ###BEGIN###{Desktop} //QV('go14', false); // Desktop @@ -8011,6 +8039,9 @@ idx_connectbutton2.value = (state == 0) ? "Connect" : "Disconnect"; Q('id_termstatus').textContent = StatusStrs[state]; QE('id_tpastebutton', state == 3); + // ###BEGIN###{!Mode-NodeWebkit} + QE('TermWD', state == 3); + // ###END###{!Mode-NodeWebkit} switch (state) { case 0: terminal.m.TermResetScreen(); @@ -8038,6 +8069,7 @@ function termPaste() { terminal.m.TermSendKeys(d3pastetextarea.value); return false; } function termSendKey(k) { terminal.m.TermSendKey(k); return false; } + function termSendKeys() { var k = Q('termkeys').value; if (k < 1000) { termSendKey(k); } else { terminal.m.TermHandleKeyDown({ which: k - 889, repeat: false }); } } // ###BEGIN###{TerminalSize} function termToggleSize() { @@ -10307,7 +10339,7 @@ if (action == 998) { amtstack.Get('IPS_OptInService', powerActionResponse0, 0, 1); return; } // Some actions will not work if KVM/SOL/IDER are connected. If we perform these, disconnect now. - if ((action < 10) && (action > 2)) { + if ((action < 10) && (action > 2) && (urlvars['noredirdisconnect'] == null)) { // ###BEGIN###{Desktop} if (desktop.State == 3) connectDesktop(); // ###END###{Desktop}