Minor SSH computer name fix.

This commit is contained in:
Ylian Saint-Hilaire 2021-04-29 22:50:19 -07:00
parent 9a051f9e0a
commit 093826729c

View File

@ -27,7 +27,7 @@
<div> <div>
<input id="ConnectButton" style="display:none" type=button value="Connect" onclick="connectButton()"> <input id="ConnectButton" style="display:none" type=button value="Connect" onclick="connectButton()">
<input id="DisconnectButton" type=button value="Disconnect" onclick="connectButton()"> <input id="DisconnectButton" type=button value="Disconnect" onclick="connectButton()">
<span><b>{{{name}}}</b></span> - <span id="termstatus"></span> <span><b id="computerName"></b></span> - <span id="termstatus"></span>
</div> </div>
</div> </div>
<div id=deskarea2 style=""> <div id=deskarea2 style="">
@ -84,6 +84,9 @@
var pass = ''; var pass = '';
function start() { function start() {
// Set the computer name
QH('computerName', name);
// When the user resizes the window, re-fit // When the user resizes the window, re-fit
window.onresize = function () { if (termfit != null) { termfit.fit(); } } window.onresize = function () { if (termfit != null) { termfit.fit(); } }