This question about Using an extension: Answered

TwistyPlugin "expand all" toggles rather than just expands.

Somewhere between TWiki 4.1.3 and Foswiki 1.1.5, the behavior of the "Expand All" and "Collapse All" buttons or links seems to have changed. Specifically, each button acts as a toggle between the two extremes instead of just expanding or collapsing. Of course we can live with this, it just seems a little counter-intuitive.

For example, please see: http://foswiki.org/Extensions/TwistyPlugin#All_on_44_all_off

Just incase there's a setting I've overlooked (or this behavior is not intentional), I figured I'd open this ticket.

-- DevinBougie - 06 Nov 2012

A consequence of this is that the buttons or links don't actually expand or collapse all. They just toggle the current state of any twisty's on the page.

-- DevinBougie - 09 Nov 2012

I am looking at that page and I don't see what you mean. The "expand all" opens all twisties on the page, the "collapse all" closes them.

-- ArthurClemens - 10 Nov 2012

Arthur, I duplicated it as well. Click "Expand All" a 2nd time and it closes them all. Each button is behaving as a toggle instead of performing the "advertised action".

-- GeorgeClark - 10 Nov 2012

aha

-- ArthurClemens - 10 Nov 2012

Thanks, George and Arthur. Sorry my description wasn't more clear.

If it helps, the latest TWiki version shows the correct behavior.

http://twiki.org/cgi-bin/view/Plugins/TwistyPlugin#All_on_all_off

-- DevinBougie - 10 Nov 2012

It looks like this has been resolved in the Foswiki 1.1.9 release. Many thanks!

-- DevinBougie - 27 Nov 2013
 

QuestionForm edit

Subject Using an extension
Extension TwistyPlugin
Version Foswiki 1.1.5
Status Answered
Related Topics
Topic revision: r8 - 09 Jan 2015, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy