Skip to content

Commit

Permalink
IBX-2179: Error in bookmarks JS on taxonomy page (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM authored Feb 1, 2022
1 parent cad1575 commit d3ba82e
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
const token = doc.querySelector('meta[name="CSRF-Token"]').content;
const siteaccess = doc.querySelector('meta[name="SiteAccess"]').content;
const bookmarkWrapper = doc.querySelector(SELECTOR_BOOKMARK_WRAPPER);

if (!bookmarkWrapper) {
return;
}

const currentLocationId = parseInt(bookmarkWrapper.getAttribute('data-location-id'), 10);
const handleUpdateError = ibexa.helpers.notification.showErrorNotification;
let isUpdatingBookmark = false;
Expand Down

0 comments on commit d3ba82e

Please sign in to comment.