Fix bookmarks ID check (#631)

This commit is contained in:
Dan Sosedoff 2022-12-27 19:03:53 -06:00 committed by GitHub
parent fed842a44d
commit 5afecfe52c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 {