I want to load quicktabs from an ajax callback, but by default it assigns system/ajax or similar to the href on the tab titles because line 70 of QuickQuicktabs.inc is as follows:

'#href' => $_GET['q']

Changing it to:

'#href' => !empty($settings['href']) ? $settings['href'] : $_GET['q']

allows you to pass 'href' in $settings when calling quicktabs_build_quicktabs, so you can make it work from an ajax callback.

Comments

davery’s picture

Issue summary: View changes

dfsdfsdf

smustgrave’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

With D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.

If still an issue or needed for 4.0.x (latest branch) feel free to reopen