Post Script,
I would also like to toggle On/Off the Dialogue that asks "Do you wish to
discard changes to the tiddler "
After all I will only loose the changes to this tiddler
Regards
Tony
On Tuesday, September 5, 2017 at 5:36:17 PM UTC+10, TonyM wrote:
>
> Folks,
>
> Here is my steps to answering my own question. On the Cancel Close Button,
> see below for the last piece of the Puzzle I do not have.
>
>
> - Clone $:/core/ui/Buttons/cancel
> - Rename to $:/core/ui/Buttons/cancelclose
> - Clone $:/language/Buttons/Cancel/Hint to
> $:/language/Buttons/CancelClose/Hint
> - change content to "Discard and close this tiddler"
> - Clone $:/language/Buttons/Cancel/Caption to
> $:/language/Buttons/CancelClose/Caption
> - change content to "cancel/close"
> - Edit $:/core/ui/Buttons/cancelclose
> - Rename the Cancel/hint and Cancel/Caption to CancelClose/hint and
> CancelClose/Caption respectively
> - Place {{$:/core/images/close-button}} after 1st
> {{$:/core/images/cancel-button}}
> - Looks OK especially when using ControlPanel > Settings >
> Toolbar Button Style > Boxed but you could replace with another
> button Icon
> - add <$action-sendmessage $message="tm-close-tiddler"/> before
> last </$list>
>
> This "Works" on the Draft Of Tiddler name but the original tiddler remains
> open, how do I also Close the Original tiddler?
>
>
> I can publish this as a plugin (with better Icons) once working, and if
> not already available but It would be a nice option in the "Core" with
> little effort.
>
>
> Thanks in advance
>
> Tony
>
>
>
>
>
>
>
--
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/7835ce50-f3d6-40df-af2f-983046d14836%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.