Skip to content

Commit

Permalink
Fix bookmarks ID check (#631)
Browse files Browse the repository at this point in the history
  • Loading branch information
sosedoff authored Dec 28, 2022
1 parent fed842a commit 5afecfe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 5afecfe

Please sign in to comment.