Closed (fixed)
Project:
Quick Tabs
Version:
7.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 May 2011 at 22:39 UTC
Updated:
28 May 2011 at 19:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
tcmug commentedFunny bumped into the same bug in a different context: ours is related to users clicking on quicktab links before the browser has finished loading the js (this of course happens to people who do not run js at all).
Problem is with this piece of code:
I don't know what the improperly added fragment #tabs- is used for, but swapping it to drupal_get_destination() fixes it.
Patch attached.
Comment #2
drewschmaltz commentedtcmug - thanks for solving this. It returned an array for me so I needed something like:
Comment #3
tcmug commentedOfcourse, dammit!
Funny it threw no errors on our setup - must be casting it in someplace to a string directly.
Anyways heres the proper working patch.
Comment #4
drewschmaltz commentedUpdating status.
Comment #5
katbailey commentedOK, committed here http://drupalcode.org/project/quicktabs.git/commit/b7ac65d but I changed it so that the href is to the current page ($_GET['q']) - this is for graceful degradation without javascript, i.e. clicking on a tab will reload the current page with the selected tab active.