Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am in the process of converting a site from D5 to D6 and one of the custom modules uses Tabs but doesn't work by simply taking that code and the latest Tabs module.
i get "c is undefined" from jquery.js which i think comes from:
if ($.data(this.$tabs[o.selected], 'load.tabs'))
in ui.tabs.js due to this.$tabs[o.selected] being undefined.
is there something at the drupal/php level that needs to be set up different than in D5 for this to work?
Comments
Comment #1
jpl-2 CreditAttribution: jpl-2 commentedSame problem here, also upgrading D5->D6. As a workaround, I commented out the if branch. this.$tabs seems to be a JQuery object, not an array, so maybe the code should read this.$tabs.eq(o.selected). Either change fixes the "c is undefined" error.