Item6054: No longer possible to have a twisty on one line without linebreak

Priority: Normal
Current State: Closed
Released In:
Target Release: patch
Applies To: Extension
Component: TwistyPlugin
Branches:
Reported By: TWiki:Main.ArthurClemens
Waiting For:
Last Change By: KwangErnLiew
div mode is hardcoded in the plugin (the line my $mode = $params->{'mode'} || $prefMode; is somehow gotten commented out.

-- TWiki:Main/ArthurClemens - 08 Oct 2008

I uncommented that line in my installation, and it didn't make a difference. I still couldn't render Twisties in-line.

-- TWiki:Main.ElliottAsh - 08 Oct 2008

It is not the only change I made. Please give it a try.

-- TWiki:Main.ArthurClemens - 08 Oct 2008

I tried it, to no avail: Here's my test topic:

http://columbia.lawschoolwiki.org/bin/view/Sandbox/TestTopic0

-- TWiki:Main.ElliottAsh - 08 Oct 2008

This looks like another bug: if the twisty is on the first line it works ok, but further down in the topic it renders a linebreak (or div).

-- TWiki:Main.ArthurClemens - 09 Oct 2008

Changed the default rendering to span instead of div style="display:inline; (which appears to be buggy implemented by browsers).

When mode is set to div, the outer container is also written as div.

-- TWiki:Main.ArthurClemens - 10 Oct 2008

ItemTemplate edit

Summary No longer possible to have a twisty on one line without linebreak
ReportedBy TWiki:Main.ArthurClemens
Codebase
SVN Range TWiki-5.0.0, Sun, 05 Oct 2008, build 17588
AppliesTo Extension
Component TwistyPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins TWikirev:17595 TWikirev:17596 TWikirev:17601 TWikirev:17602
TargetRelease patch
ReleasedIn
Topic revision: r13 - 08 Jan 2009, KwangErnLiew
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License