Add reload restart
This commit is contained in:
parent
9f369fde23
commit
eb1d772c27
4 changed files with 4 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
@ -327,7 +327,7 @@ body, html {
|
||||||
#menu:hover .dropup-content {
|
#menu:hover .dropup-content {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#logBtn, #credentialsBtn, #reauthBtn {
|
#logBtn, #credentialsBtn, #reauthBtn, #restartBtn {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -108,7 +108,7 @@ body, html {
|
||||||
#menu:hover .dropup-content {
|
#menu:hover .dropup-content {
|
||||||
display: block;
|
display: block;
|
||||||
}
|
}
|
||||||
#logBtn, #credentialsBtn, #reauthBtn {
|
#logBtn, #credentialsBtn, #reauthBtn, #restartBtn {
|
||||||
color: #000;
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -63,6 +63,7 @@ function reauthSession() { // eslint-disable-line
|
||||||
function restartSession() { // eslint-disable-line
|
function restartSession() { // eslint-disable-line
|
||||||
debug('restarting');
|
debug('restarting');
|
||||||
socket.emit('control', 'reauth');
|
socket.emit('control', 'reauth');
|
||||||
|
window.location.reload();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue