Ticket #477 (closed defect: fixed)
'close' command should warn before closing if tiddler is dirty
| Reported by: | SaqImtiaz | Owned by: | FND |
|---|---|---|---|
| Priority: | major | Milestone: | 2.3.1 |
| Component: | core | Version: | |
| Severity: | medium | Keywords: | |
| Cc: |
Description (last modified by FND) (diff)
The tiddler toolbar's Close command should warn the user if the tiddler is dirty, similar to the Cancel command.
This protects against losing data by accidentally closing a tiddler, e.g. if the user has added the Close command to the EditTemplate? or if there are input fields in the ViewTemplate?. (Plugins and macros creating input fields in ViewTemplate? can set the dirty attribute of the tiddler when the input values are changed.)
The code cost is negligible and this is perfectly backwards compatible.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
