Closed (duplicate)
Project:
Quick Tabs
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
20 Jul 2022 at 15:49 UTC
Updated:
10 Dec 2024 at 16:50 UTC
Jump to comment: Most recent
Comments
Comment #4
immaculatexavier commentedReplaced jquery.cookie with js-cookie in quicktabls.libraries.yml.
Yet to update in /js/quicktabs.js
Comment #5
shelaneComment #6
shelaneComment #7
loze commentedThe latest release 8.x-3.0-alpha6 changed the library but is still using jquery cookie in quicktabs.js which is causing an error.
I also have a patch in #3189439: Last clicked tab history should be configurable that makes this behavior optional per QT instance which needs to be updated.
I will provide a patch that addresses both.
Comment #8
loze commentedI've updated #3189439: Last clicked tab history should be configurable with a new patch that fixes this. It uses js-cookie in quicktabs.js and also adds a config setting to enable the feature per QT instance.
Thanks
Comment #9
shelaneI would rather keep the issues separate and not have one patch for two things. Please post a patch or an MR for the us cookie fix here and I will review.
Comment #11
nelo_drup commentedSorry to reopen the problem but is there any update on this I have the same error in drupal 9.4.11
Uncaught TypeError: $.cookie is not a function
at HTMLAnchorElement. (:140:32)
Comment #12
niklp commentedPatch at https://www.drupal.org/project/quicktabs/issues/3189439#comment-14958818 fixes the "Uncaught TypeError: $.cookie is not a function" error.
Comment #13
nelo_drup commented#12 thanks for answer yes i tried the patch and it works fine
Comment #14
keshavv commentedIssue already fixed on
8.x-3.xBranchComment #15
smustgrave commentedActually pushed to 4.0.x branch so we could drop D9 support, but correct it's been done.