Bug fix
This commit is contained in:
parent
35cbdf0ac1
commit
059a5e38de
@ -58,13 +58,13 @@ function disableForm(formId, disableFlag) {
|
|||||||
|
|
||||||
function connect(){
|
function connect(){
|
||||||
document.getElementById("alert-container").innerHTML = '';
|
document.getElementById("alert-container").innerHTML = '';
|
||||||
var serverPass = document.getElementById('serverPass');
|
var serverPass = document.getElementById('serverPass').value;
|
||||||
initselfWebSocket(serverPass).then(result => {
|
initselfWebSocket(serverPass).then(result => {
|
||||||
customAlert(result,success);
|
customAlert(result,'success');
|
||||||
disableForm('serverConnect',true);
|
disableForm('serverConnect',true);
|
||||||
disableForm('userSignIn',false);
|
disableForm('userSignIn',false);
|
||||||
}).catch(error => {
|
}).catch(error => {
|
||||||
customAlert(error,danger);
|
customAlert(error,'danger');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user