After I upgraded to Drupal 10, quicktabs got an error

$.cookie is not a function

Comments

murphyW created an issue. See original summary.

murphyw’s picture

StatusFileSize
new3.08 KB
murphyw’s picture

StatusFileSize
new1.13 KB

  • shelane committed 2416be1b on 8.x-3.x authored by murphyW
    Issue #3376764 by murphyW: $.cookie is not a function in drupal10...
shelane’s picture

Status: Active » Fixed

Thank you.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

vivek panicker’s picture

@murphy @shelane After using this patch in my local site, I am facing an issue.
Patch used: https://www.drupal.org/files/issues/2023-07-25/quicktabs-js-fix_0.patch

I am using an AJAX quicktab.

After applying the patch, the default quicktab is not selected after page reload.
Whatever was the last tab the user clicked on, that persists after page reload.

The last clicked and the first quicktab both are loaded, thus causing issues in my project.

I request you to kindly check scenario.

nmangold’s picture

@Vivek, Loading the last clicked tab is expected behavior created by the feature request in https://www.drupal.org/project/quicktabs/issues/3035749. However, I understand your concern, and I think an option should exist to disable that feature as needed. Especially, when using Ajax to load only tab on page load that may be different than the default.

I have created a feature request with a patch at https://www.drupal.org/project/quicktabs/issues/3390978.

usmanjutt84’s picture

StatusFileSize
new22.55 KB

It's again happening with 3.0.0-alpha7 version with Drupal 10.2.7.
cookie-error