mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-31 12:56:11 +01:00
Fix modal glitch
This commit is contained in:
parent
975dd2f967
commit
db8ef6d382
@ -614,10 +614,13 @@
|
|||||||
}
|
}
|
||||||
console.log("Command received successfully")
|
console.log("Command received successfully")
|
||||||
} else {
|
} else {
|
||||||
|
setTimeout(function(){
|
||||||
|
$('.modal').modal('hide');
|
||||||
bootbox.alert({
|
bootbox.alert({
|
||||||
title: responseData.status,
|
title: responseData.status,
|
||||||
message: responseData.error
|
message: responseData.error
|
||||||
});
|
});
|
||||||
|
}, 2000)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user