-
Notifications
You must be signed in to change notification settings - Fork 5
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
Collapse state is still not saved in user settings #7
Comments
Symptom: All elements were collapsed all the time. Fix: I just found that it can be fixed by just changing the line
to
Appearantly the object attribute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Collapsing some elements on a page and later revisiting the same page with the same user displays all elements in the expanded state. According to readme, I would expect the state of collapsed elements to be restored, same as #1.
I can confirm this behavior for TYPO3 11.5.30 and Collapse 1.0.0, the collapse state was not saved when I revisited the page.
After some troubleshooting, it looks like the field is not created in the user settings. You either do an
addToList
orremoveFromList
inPageModuleCollapse.js
, but the fieldb13.collapse
is never set.I missed something like that in your
PageModuleCollapse.js
:On the first call, the field is created so that I can add or remove a value. This works for me.
The text was updated successfully, but these errors were encountered: