How could I make a QT Tab Ajax-reload, like it does the first time it is clicked if Ajax is enabled, every time it is clicked after being disabled?
The reason I want to do this, it b/c I have a GMap in a tab, and a form in another tab that adds a map location, but the Gmap is not refreshed (even when using Ajax "refresh views").
GMap now works with Ajax, due to the patches here : http://drupal.org/node/315236
Thanks
Comments
Comment #1
kvvnn commentedKateBailey said
This worked perfectly.
But it didn't load the Gmap. Gmap has serious Ajax issues, so, to be expected I guess.
Cheers.
Comment #2
Anonymous (not verified) commentedThis works fine for reloading the page but when I post a comment within a quicktab it gives me the following:
can anyone help by explaining why this happens and maybe a hint towards how I can fix this?
Comment #3
kvvnn commentedThat only happens when you remove the quicktabs_tabpage class from your tabs?
Comment #4
2faroffroad commentedWhere / How do you remove this quicktabs_tabpage class.
Thanks.
Comment #5
kvvnn commented2faroffroad :
So, in a javascript file to something like:
Comment #6
OxH2 commentedI have setup a js file including the line of code in #5:
$('.quicktabs_tabpage').removeClass('quicktabs_tabpage');I'm including this file in my theme - should I only be including this file in the source pages that are being displayed in the quicktabs?