enable ssh connect for windows

Signed-off-by: Simon Smith <simonsmith5521@gmail.com>

Simon Smith committed Oct 9, 2023 at 21:28 UTC 548d76efed3f4459a440565fcfd2bf0577af32c5
2 files changed +2 -2
views/default-mobile.handlebars
+1 -1
@@ -4792,7 +4792,7 @@
4792 // Show the right buttons
4793 QV('disconnectbutton2span', (termState == true));
4794 QV('connectbutton2span', (termState == false) && (terminalNode.agent != null) && (terminalNode.agent.caps & 2) && (terminalNode.mtype != 3));
4795 - QV('connectbutton2sspan', (termState == false) && (terminalNode.agent != null) && (terminalNode.agent.caps & 2) && (terminalNode.agent.id != 3) && (terminalNode.agent.id != 4));
4795 + QV('connectbutton2sspan', (termState == false) && (terminalNode.agent != null) && (terminalNode.agent.caps & 2) && (terminalNode.agent.id != 3));
4796
4797 // Enable buttons
4798 var online = ((terminalNode.conn & 1) != 0) || (terminalNode.mtype == 3); // If Agent (1) connected, enable Terminal
views/default.handlebars
+1 -1
@@ -10123,7 +10123,7 @@
10123 // Show the right buttons
10124 QV('disconnectbutton2span', (termState == true));
10125 QV('connectbutton2span', (termState == false) && (terminalNode.agent != null) && (terminalNode.agent.caps & 2) && (terminalNode.mtype != 3));
10126 - QV('connectbutton2sspan', (features2 & 0x00000200) && (termState == false) && (terminalNode.agent != null) && (terminalNode.agent.caps & 2) && (terminalNode.agent.id != 3) && (terminalNode.agent.id != 4) && ((features2 & 0x1000000) == 0));
10126 + QV('connectbutton2sspan', (features2 & 0x00000200) && (termState == false) && (terminalNode.agent != null) && (terminalNode.agent.caps & 2) && (terminalNode.agent.id != 3) && ((features2 & 0x1000000) == 0));
10127 if (terminalNode.mtype == 1) {
10128 QV('connectbutton2hspan', (termState == false) && (terminalNode.intelamt != null) && (terminalNode.intelamt.state == 2));
10129 QV('terminalSizeDropDown', (termState == false) && (terminalNode.intelamt != null) && (terminalNode.intelamt.state == 2));