I updated to the latest rc of CTools and I believe it's the culprit that undid the tabs I created with this module. The accordions are fine, but the tabs aren't even working in the demo section of the module now. Not sure what to do, so I figured I'd bring it to your attention.

Thanks.

Comments

jrockowitz’s picture

I can't duplicate the issue. Chances are that something, quite possibly ctools, is breaking JavaScript and/or jQuery UI.

Can you please try to catch the javascript error with aggregation turned off?

Here is a link that shows you how to open up a browser's javascript console to see any errors.
http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javas...

CinemaSaville’s picture

I get this error:

TypeError: 'undefined' is not a function (evaluating 'd.widget')

Apparently this is in line 34 of the jquery.ui.tabs.min

CinemaSaville’s picture

And now I get this one:

js_Kd7dmQ-4IX78E2uKgB9G6hXmeVEBjnZavShlr8irZBQ.js:697TypeError: 'undefined' is not a function (evaluating 'd.widget')
js_1sBnNfaH2X5nqS83ibNYWT_lcXB8hUnYkWwj_smtftM.js:162TypeError: 'undefined' is not a function (evaluating '$(this).tabs(options)')

Not sure what to do. Hopefully you can understand it better.

jrockowitz’s picture

That is very helpful information, it means that I am passing the wrong data to the jQueryUI tabs function.

I am guessing that you have applied some configuration setting which is causing this bug to appear.

So lets try to clear all you custom settings and see if I am right.

First, make sure 'Aggregate JS files' is turned off (admin/config/development/performance).

Then, on the jQueryUI filter settings page (admin/config/content/jquery_ui_filter)
- Click 'Reset to defaults'
- Do not click 'Save configuration'
- Immediately navigate to the demo page (admin/config/content/jquery_ui_filter/demo)
- See if the tabs are now working.

If the tabs are now working and you are up for the task, please gradually reconfigure your tabs and maybe you can figure out which setting is the problem.

If the tabs are still broken, please save the demo page to your local machine and just attach the HTML to this ticket.

Thanks.

jrockowitz’s picture

Ctools has recently been updated. Are you still seeing this issue?

jrockowitz’s picture

Status: Active » Closed (cannot reproduce)

Please re-open if you can reproduce this issue.