Implement session locking with --lock-session option

This commit is contained in:
Dan Sosedoff
2016-11-05 21:23:37 -05:00
parent 97b612c1b3
commit 20da36416c
6 changed files with 59 additions and 22 deletions

View File

@@ -475,6 +475,7 @@
position: fixed;
right: 8px;
top: 10px;
display: none;
}
#edit_connection, #close_connection {

View File

@@ -1080,6 +1080,10 @@ $(document).ready(function() {
$("#current_database").text(resp.current_database);
$("#main").show();
if (!resp.session_lock) {
$(".connection-actions").show();
}
}
});
});