Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I was trying to create my own quicktabs and suddenly all my JS was borked and I didn't even touched JS
so, after some research it was this property :
Broke down all : $quicktabs['qtid'] = 'latest-highlights';
Fixed all : $quicktabs['qtid'] = 'latesthighlights';
If I have time I will submit a patch, but please investigate
Comments
Comment #1
Pasquallethe qtid is used in the js to find the quicktab and dash is used as a separator..
the html id of the quicktab is created as
quicktabs.module line 184
and read as
quicktabs.js line 16
this could be easily fixed with changing the split to substring
or it would be better to not use the length of the "quicktabs-" string but find the first dash..
Comment #2
featherbellyHi there,
I am trying to add some tabs programatically, e.g.:
However the AJAX does not seem to work... If I create the QT block manually then it does work. Any idea what I might be doing wrong?
Many thanks.
Comment #3
Pasquallethis bug is still not fixed, so try:
or
Comment #4
featherbellyMany thanks! Now works like a charm...
Comment #5
Pasquallehttp://drupal.org/cvs?commit=268846