mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-13 15:35:28 +03:00
Fix bookmarks ID check (#631)
This commit is contained in:
parent
fed842a44d
commit
5afecfe52c
@ -1662,8 +1662,9 @@ $(document).ready(function() {
|
||||
|
||||
var button = $(this).find("button.open-connection");
|
||||
var params = {};
|
||||
var bookmarkID = $.trim($("#connection_bookmarks").val());
|
||||
|
||||
if ($("#connection_bookmarks").val() != "") {
|
||||
if (bookmarkID != "") {
|
||||
params["bookmark_id"] = $("#connection_bookmarks").val();
|
||||
}
|
||||
else {
|
||||
|
Loading…
Reference in New Issue
Block a user