Ticket #792 (closed defect: fixed)
[TiddlyWeb] saving implementation is inconsistent with TiddlyWiki core
| Reported by: | mahemoff | Owned by: | FND |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | tiddlyweb | Version: | |
| Severity: | medium | Keywords: | client saving |
| Cc: |
Description (last modified by FND) (diff)
In these adaptors:
- calling saveChanges() leads to the default (not overridden) warning dialog (because the wiki is served from http://, it incorrectly assumes the changes won't be persisted)
- calling store.saveTiddler() will persist the tiddler (by uploading via PUT), whereas in core, it would only change the memory model and saveChanges() would then need to be called
For now, my workaround is to rely on saveTiddler() and to clear window.saveChanges(). I believe the long term solution would be for these adaptors not to override saveTiddler, and instead override saveChanges().
Change History
Note: See
TracTickets for help on using
tickets.
