Ticket #611 (closed defect: fixed)
cancelCommand: missing confirmation prompt for new and shadow tiddlers
| Reported by: | FND | Owned by: | FND |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.5.3 |
| Component: | core | Version: | |
| Severity: | medium | Keywords: | |
| Cc: |
Description (last modified by FND) (diff)
When canceling during editing, a confirmation prompt currently only appears when the respective tiddler already exists in the store. When editing a new tiddler or a shadow tiddler, there is no confirmation prompt - which is inconsistent and potentially harmful.
The attached patch thus makes the confirmation prompt when one of the following conditions is met:
- is existing tiddler and has changes
- is new tiddler (tiddler not in store)
- is shadow tiddler
Drawback: Closing new tiddlers or shadow tiddlers will result in a confirmation prompt even if nothing has been altered there.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

