Implement session locking with --lock-session option
This commit is contained in:
@@ -475,6 +475,7 @@
|
||||
position: fixed;
|
||||
right: 8px;
|
||||
top: 10px;
|
||||
display: none;
|
||||
}
|
||||
|
||||
#edit_connection, #close_connection {
|
||||
|
||||
@@ -1080,6 +1080,10 @@ $(document).ready(function() {
|
||||
|
||||
$("#current_database").text(resp.current_database);
|
||||
$("#main").show();
|
||||
|
||||
if (!resp.session_lock) {
|
||||
$(".connection-actions").show();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user