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

jpl-2’s picture

Same 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.