would be nice to save/show fieldset states

liquidcms - January 11, 2008 - 21:34
Project:Autosave
Version:5.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Possibly only valid example of this is the collapsed fieldset states.

We use Taxonomy Super Select module for node category. It has hieracrhchial representation of taxonomy shown as checkboxes. If a box in a group is checked then that groups feildset is expanded. If empty it is collapsed. I guess the module determines collapse state on page load based on state of individual checkboxes.

If we autosave a checkbox in a fieldset that was previously empty - when, on re-edit, we toggle bwteen saved and autosaved - it would be nice if fieldsets expanded/collapsed to match checkbox states (that do get autosaved correctly).

When i started typing this i was thinking create to asave collapse state - but now maybe easiest to just mimick (in JS) what the TSS module does in php - which is just set collapse state based on lower level checked boxes. This likely isnt too difficult - but also likely needs to be recursive for sub-levels of taxonomy (which we aren't using on our project).

Peter Lindstrom
LiquidCMS - Content Management Solution Experts

 
 

Drupal is a registered trademark of Dries Buytaert.