-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[1.4.x] Tabs disappear when clicked #2238
Comments
I noticed this in EL also. |
Weird, somehow the tab as well as the content div is hidden instead of only the content div not visible. |
@phaidon - could this have something to do with some of the "magic" you added to help jQuery and bootstrap play well together? |
Probably related to #1190. |
refs 079df47 |
Random guess: It does not work because jQuery is loaded after prototype:
|
And it should :-) http://api.jquery.com/jquery.noconflict/#jQuery-noConflict-removeAll |
no it doesn't work. |
but the "fix" checks for jQuery - and now this happens BEFORE jQuery exists. |
we need the sorcerer. ping @phaidon PLEASE HELP! |
Ah right, that makes it more difficult indeed. mmhh. Then jQuery should be loaded first for the fix, but is adviced to load after prototype in noconflict description.. |
I wonder if the fix could be extracted from it's current location and loaded later. |
In my case jQuery is loaded before prototype, see below. But still the tabs dissappear.
|
I think this is the fix but am sort of clueless on implementation http://softec.lu/site/DevelopersCorner/BootstrapPrototypeConflict |
With
I added that line to prototype.js (and in development mode) so that is loaded and now it works. Did you do a real re-load for JS ? |
I don't see |
No sorry, my bad. You had hide.bs.tab. Updated comment. We were only missing hide.bs.tab is seems in the prototype fix. So going from (in prototype.js)
to
works here. Firefox 35.0.1 on Win7 |
So also update line 514 in https://github.com/zikula/core/blob/1.4/src/lib/util/JCSSUtil.php#L514
into
|
closed by #2242 |
Just tried Content (4.2.0) so old style module etc with 1.4.x. Most things seem to work perfectly.
Of course layouts can be converted into col-md-x columns instead of the "hard coded" 62-38/etc% column divisions, but that is a small thing.
However the Tabs that are using {formtabbedpanel __title='Content'} is not all ok. There are 3 tabs, when you click one the 2nd the first dissappears, when you click on the 3rd the 2nd also dissappears, so in the end you're left with only the 3rd tab.
The tabs is hidden via jQuery call somehow it seems. Not checked in details where it could come from.
The text was updated successfully, but these errors were encountered: