After "preview" pressing categories remain collapsed, but ckeckboxes or radio - checked. Why?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | tss_04.patch | 893 bytes | nancydru |
After "preview" pressing categories remain collapsed, but ckeckboxes or radio - checked. Why?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | tss_04.patch | 893 bytes | nancydru |
Comments
Comment #1
nancydruIf a vocabulary is required, it will be expanded, otherwise it will be collapsed. Unfortunately, the Forms API regenerates the HTML on a page rebuild, as "Preview" will do, so it will get collapsed again even if you had opened it. Fixing this behavior needs to be a core issue.
Comment #2
nancydruMy apologies. In looking at some way around this, I found a line of code that attempted to force a populated vocabulary to be expanded, but it did not work correctly.
This patch will, I believe fix it. I have not tested it with much of a hierarchy, so it may need some refinement.
Comment #3
nancydruin 5.x-1.11
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.