How-to: Delete a tiddler without confirmation!

92 views
Skip to first unread message

Rustem

unread,
Jun 12, 2015, 5:13:13 AM6/12/15
to tiddl...@googlegroups.com
  1. Gleaned from the source code
  2. Found experimentally

So, to delete a tiddler without confirmation, remove the text field first.

<$button message="tm-delete-tiddler" param=<<sliderState '$tiddler$'>> class=<<sliderButtonClasses>>
><$action-deletefield $tiddler=<<sliderState '$tiddler$'>> $field=text/>-</$button>

Enjoy!

R

BJ

unread,
Jun 12, 2015, 5:55:35 AM6/12/15
to tiddl...@googlegroups.com
Good stuff!
BJ

Danielo Rodríguez

unread,
Jun 13, 2015, 5:08:13 PM6/13/15
to tiddl...@googlegroups.com
Good advise.

The only think I don't like is mixing action widgets and button widgets. It is not consistent to use both to send messages. You can include as many actions widgets inside a button as you want. They will be executed secuencially, and it is more readable.
Reply all
Reply to author
Forward
0 new messages