mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 17:46:19 +00:00
a01bbd4b9c
We re-use some of the existing syncer mechanism. It was already keeping track of changes to tiddlers in the store when working with a tiddler syncadaptor. Now it also tracks changes when there is no syncadaptor, allowing us to provide a warning if there are unsaved changes.
10 lines
409 B
Plaintext
10 lines
409 B
Plaintext
title: $:/snippets/autosavestatus
|
|
|
|
<$reveal type="match" state="$:/config/AutoSave" text="yes">
|
|
Autosave is currently enabled
|
|
<$linkcatcher to="$:/config/AutoSave"><$link to="no">Disable</$link></$linkcatcher>
|
|
</$reveal>
|
|
<$reveal type="nomatch" state="$:/config/AutoSave" text="yes">
|
|
Autosave is currently disabled
|
|
<$linkcatcher to="$:/config/AutoSave"><$link to="yes">Enable</$link></$linkcatcher>
|
|
</$reveal> |