I have this code that displays a button and a list
<$button>
load recent changes
<$action-listops $tiddler=<<thisTiddler>> $field="list"
$filter="[tag[today]!tag[exclude]!tag[done]sort[priority]]"/>
</$button>
<<list-links-draggable tiddler:"Today List" itemTemplate:
"draggableTemplate1">>
The list items are sortable, and when you click the button, it re-populates
the list from that filter.
the draggable template looks like this:
{{||add main tags2}} <$link to={{!!title}}>{{!!title}}</$link>
which ultimately (through a couple transclusions) refers to this:
<span style=background-color:red; class="tc-tag-label">
<$button message="tm-delete-tiddler" tooltip="delete"
class="tc-btn-invisible">
delete
</$button>
</span>
That's a delete button that successfully deletes the tiddler in question
What I want to do is have this function from the first button
<$action-listops $tiddler=<<thisTiddler>> $field="list"
$filter="[tag[today]!tag[exclude]!tag[done]sort[priority]]"/>
to also run when I click the red "delete" button, but when I paste that in
that delete button code (e.g. just after the word "delete") it doesn't work.
Is there some little thing I'm doing wrong here? I've tried changing the
$tiddler=<<thisTiddler>> part to $tiddler="Today List" which is the tiddler
with that list in it, but that didn't work either.
Any suggestions?
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/735ae4eb-59f3-46aa-babc-542a37071657%40googlegroups.com.