1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-25 23:03:15 +00:00

remove superfluous list item at the end of list-links-draggable (#3043)

fixes #2970

Also fixes the nesting. If a template is defined for the list item, it should define the link as is done for **list-tagged-draggable**, i.e. the template defines any link widget it contains.
This commit is contained in:
Tobias Beer 2018-03-06 14:29:27 +01:00 committed by Jeremy Ruston
parent 3361d749bf
commit 6acf36e898

View File

@ -28,27 +28,25 @@ tags: $:/tags/Macro
   
</div> </div>
<div> <div>
<$link to={{!!title}}>
<$transclude tiddler="""$itemTemplate$"""> <$transclude tiddler="""$itemTemplate$""">
<$link to={{!!title}}>
<$transclude field="caption"> <$transclude field="caption">
<$view field="title"/> <$view field="title"/>
</$transclude> </$transclude>
</$transclude>
</$link> </$link>
</$transclude>
</div> </div>
</$droppable> </$droppable>
</$list> </$list>
</$type$>
<$tiddler tiddler=""> <$tiddler tiddler="">
<$droppable actions=<<list-links-draggable-drop-actions>> tag="""$subtype$"""> <$droppable actions=<<list-links-draggable-drop-actions>> tag="div">
<div class="tc-droppable-placeholder"> <div class="tc-droppable-placeholder">
&nbsp; &nbsp;
</div> </div>
<div> <div style="height:0.5em;"/>
&nbsp;
</div>
</$droppable> </$droppable>
</$tiddler> </$tiddler>
</$type$>
</$vars> </$vars>
\end \end