TiddlyWiki.org

Ticket #611 (assigned defect)

Opened 4 months ago

Last modified 4 months ago

cancelCommand: missing confirmation prompt for new and shadow tiddlers

Reported by: FND Assigned to: FND (accepted)
Priority: minor Milestone: 2.5
Component: core Version:
Severity: medium Keywords:
Cc:

Description (Last modified by FND)

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

ticket611.patch (463 bytes) - added by FND on 25/04/08 22:42:27.

Change History

25/04/08 22:42:27 changed by FND

  • attachment ticket611.patch added.

25/04/08 22:43:39 changed by FND

  • owner changed from JeremyRuston to FND.
  • status changed from new to assigned.

25/04/08 22:44:04 changed by FND

  • description changed.

25/04/08 22:52:45 changed by FND

  • description changed.