some minor fixes
This commit is contained in:
parent
9addb5d35f
commit
c5bac71eaf
@ -224,7 +224,8 @@ window.onload = function(event) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
socket.onerror = function(event) {
|
socket.onerror = function(event) {
|
||||||
set_terminal_status('Disconnected', event);
|
//set_terminal_status('Disconnected', event);
|
||||||
|
set_terminal_status('Disconnected', '');
|
||||||
toggle_login_form(true)
|
toggle_login_form(true)
|
||||||
window.onresize = adjust_terminal_size_unconnected;
|
window.onresize = adjust_terminal_size_unconnected;
|
||||||
};
|
};
|
||||||
@ -263,7 +264,7 @@ window.onload = function(event) {
|
|||||||
<label>
|
<label>
|
||||||
Password: <input type="password" id="password" required />
|
Password: <input type="password" id="password" required />
|
||||||
</label> -->
|
</label> -->
|
||||||
Click Connect below to start your secure terminal session
|
Click Connect below to start a new terminal session
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<button type="submit" id="terminal-connect">Connect</button>
|
<button type="submit" id="terminal-connect">Connect</button>
|
||||||
</form>
|
</form>
|
||||||
|
@ -224,7 +224,8 @@ window.onload = function(event) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
socket.onerror = function(event) {
|
socket.onerror = function(event) {
|
||||||
set_terminal_status('Disconnected', event);
|
//set_terminal_status('Disconnected', event);
|
||||||
|
set_terminal_status('Disconnected', '');
|
||||||
toggle_login_form(true)
|
toggle_login_form(true)
|
||||||
window.onresize = adjust_terminal_size_unconnected;
|
window.onresize = adjust_terminal_size_unconnected;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user