mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 03:36:33 +03:00
Require confirmation to close the connection
This commit is contained in:
parent
fd6e4cc189
commit
574f642200
File diff suppressed because one or more lines are too long
@ -1012,6 +1012,8 @@ $(document).ready(function() {
|
||||
});
|
||||
|
||||
$("#close_connection").on("click", function() {
|
||||
if (!confirm("Are you sure you want to disconnect?")) return;
|
||||
|
||||
disconnect(function() {
|
||||
showConnectionSettings();
|
||||
resetTable();
|
||||
|
Loading…
Reference in New Issue
Block a user