User tests: Successful: Unsuccessful:
Pull Request for Issue # .
Now accordion-toggle
of slides which where collapsed by opening an other slide in an accordion with the option parent set to the id of the accordion gets the class collapsed
.
For making the testing simple I've created a component :).
Download and install https://github.com/Minei3oat/com_test .
The component contains a single view with five slides. The style of the component will show accordion-toggle
s with class collapsed
green and without red. This makes it easy to see the difference.
Now open a slide which is not open. The open slide will close, but its accordion-toggle
don't gets the class collapsed
as it gets when you close the slide yourself.
After applying this patch the class collapsed
will get asseigned.
none
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript |
Labels |
Added:
?
|
Then I don't see a posibility to fix this issue.
Bootstrap fixed this issue with the code in this PR in version 3 but updating isn't good because it is not backward compatible.
If there is no other way then it will have to be closed as a known issue
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-09-06 13:40:00 |
Closed_By | ⇒ | Minei3oat |
I've did some research. It is possible to add the code with the declaration of the needed variables
JHtmlBootstrap
if it is needed.Is the second one an option?
Using JHtmlBootstrap should be fine.
Changing the bootstrap supplied js files is not an option