After "preview" pressing categories remain collapsed, but ckeckboxes or radio - checked. Why?

CommentFileSizeAuthor
#2 tss_04.patch893 bytesnancydru

Comments

nancydru’s picture

If 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.

nancydru’s picture

Assigned: Unassigned » nancydru
Category: support » bug
Status: Active » Needs review
StatusFileSize
new893 bytes

My 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.

nancydru’s picture

Status: Needs review » Fixed

in 5.x-1.11

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.