Expanding/collapsing categories

Klopp - August 3, 2007 - 01:27
Project:Taxonomy Super Select
Version:5.x-1.5-1
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:NancyDru
Status:closed
Description

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

#1

NancyDru - September 30, 2008 - 00:34

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.

#2

NancyDru - September 30, 2008 - 18:19
Category:support request» bug report
Assigned to:Anonymous» NancyDru
Status:active» needs review

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.

AttachmentSize
tss_04.patch 893 bytes

#3

NancyDru - October 7, 2008 - 16:11
Status:needs review» fixed

in 5.x-1.11

#4

Anonymous (not verified) - October 21, 2008 - 16:11
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.