mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-08 10:59:57 +00:00
13c4e028b1
Previously we were using a message `tw-auto-save-wiki` to trigger an autosave. The message was generated by certain UI actions such as saving a tiddler. The trouble was that the message was being processed before the wiki change event for the accompanying change had had a chance to percolate. The end result was that the dirty indicator was staying lit when using autosave. The new approach abandons the autosave message and instead triggers the autosave in the wiki change event when a relevant change occurs. One happy side effect of these changes is that the dirty indicator now works as expected with the client server edition - ie, when typing in a draft tiddler the dirty indicator will flash briefly, and then clear when the sync mechanism has completed saving the draft. |
||
---|---|---|
.. | ||
WidgetMessage_ tw-browser-refresh.tid | ||
WidgetMessage_ tw-cancel-tiddler.tid | ||
WidgetMessage_ tw-clear-password.tid | ||
WidgetMessage_ tw-close-all-tiddlers.tid | ||
WidgetMessage_ tw-close-other-tiddlers.tid | ||
WidgetMessage_ tw-close-tiddler.tid | ||
WidgetMessage_ tw-delete-tiddler.tid | ||
WidgetMessage_ tw-download-file.tid | ||
WidgetMessage_ tw-edit-tiddler.tid | ||
WidgetMessage_ tw-full-screen.tid | ||
WidgetMessage_ tw-home.tid | ||
WidgetMessage_ tw-import-tiddlers.tid | ||
WidgetMessage_ tw-login.tid | ||
WidgetMessage_ tw-logout.tid | ||
WidgetMessage_ tw-modal.tid | ||
WidgetMessage_ tw-navigate.tid | ||
WidgetMessage_ tw-new-tiddler.tid | ||
WidgetMessage_ tw-notify.tid | ||
WidgetMessage_ tw-perform-import.tid | ||
WidgetMessage_ tw-permalink.tid | ||
WidgetMessage_ tw-permaview.tid | ||
WidgetMessage_ tw-save-tiddler.tid | ||
WidgetMessage_ tw-save-wiki.tid | ||
WidgetMessage_ tw-server-refresh.tid | ||
WidgetMessage_ tw-set-password.tid |