Active
Project:
Tabs (jQuery UI tabs)
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2009 at 20:38 UTC
Updated:
4 Oct 2010 at 14:32 UTC
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 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.