the flag_friend module provides views for several functions: List All Friends, Pending Friend Requets, Flagged Users, etc.
We have a QT setup where there are top-level tabs in a user profile: "My Profile" and "Friends." Under Friends, there are three more tabs: My Friends | Pending Requests | Flagged Users
"My Friends" works perfectly, showing all of the user's friends as expected. Pending Requests and Flagged Users, however, dump something like this to screen:
{ "status": true, "data": "\x3cdiv id=\"quicktabs-2\" class=\"quicktabs_wrapper quicktabs-style-basic\"\x3e\x3cul class=\"quicktabs_tabs quicktabs-style-basic\"\x3e\x3cli class=\"qtab-0 first\"\x3e\x3ca href=\"/quicktabs/ajax/qtabs/2?quicktabs_2=0#quicktabs-2\" id=\"quicktabs-tab-2-0\" class=\"qt_ajax_tab active\"\x3eMy Friends\x3c/a\x3e\x3c/li\x3e\x3cli class=\"qtab-1 active last\"\x3e\x3ca href=\"/quicktabs/ajax/qtabs/2?quicktabs_2=1#quicktabs-2\" id=\"quicktabs-tab-2-1\" class=\"qt_ajax_tab active\"\x3ePending Requests\x3c/a\x3e\x3c/li\x3e\x3c/ul\x3e\x3cdiv id=\"quicktabs_container_2\" class=\"quicktabs_main quicktabs-style-basic\"\x3e\x3cdiv id=\"quicktabs_tabpage_2_1\" class=\"quicktabs_tabpage\"\x3e\x3cdiv class=\"view view-friends view-id-friends view-display-id-page_2 view-dom-id-1\"\x3e\n \x3cdiv class=\"view-header\"\x3e\n \x3cp\x3eThese are users who would like to be your friend.\x3c/p\x3e \x3c/div\x3e\n \n \n \n \x3cdiv class=\"view-empty\"\x3e\n \x3cp\x3eNo Friend Requests.\x3c/p\x3e \x3c/div\x3e\n \n \n \n \n \n \n\x3c/div\x3e \x3c/div\x3e\x3c/div\x3e\x3c/div\x3e" }
...but ONLY if the tab is a sub-tab under the top-level tabs. If we move one of these tabs up to the top-level, it works fine.
Both QT Blocks are set to the same style: Basic (though I've also tried with a few other styles with the same results)
I'm putting this in Quicktabs and not Flag Friend because of this caveat that it only happens when in a child qt block, which makes it seem like the problem might be with QT. Please move it to Flag Friend if I'm wrong.
Comments
Comment #1
friolator commentedCouple more notes: Disabling AJAX fixes the problem, as does turning off Javascript.
And that makes sense, because the Flag Friends pages in those tabs use AJAX, I think, to do the flag/unflag links.
Comment #2
pasquallethen it is just another thing which does not work inside ajax quicktab #345175: what could be inside ajax quicktabs
Comment #3
jthomasbailey commentedStill an issue, seems to be happening with all flags set to "javascript toggle" in ajax tabs. Seems like the more tabs you have on a page the more likely it is to happen.
Comment #4
katbailey commented