Currently the Javascript file (tab_builder.js) refers to the last character of id of the accordion that was clicked, so only ever works with accordions 0-9.
This can be fixed by splitting the event id on the - character, rather than always getting the very last char. Patch on the way.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | wysiwyg_tools_plus-maxaccordionfix-1479334-2.patch | 596 bytes | earlofsandwich |
| #1 | wysiwyg_tools_plus-maxaccordionfix-1479334-1.patch | 1005 bytes | earlofsandwich |
Comments
Comment #1
earlofsandwich commentedHere is a patch, hope it's okay. Git on windows :(
Comment #2
earlofsandwich commentedApologies, I did a diff against head, rather than dev. This patch should be better!
Comment #3
cntlscrut commentedGood catch.
I'll test it out.
Thanks.
Comment #4
cntlscrut commentedConfirmed tests.
change committed
change included in release 7.x-1.0-alpha2