From 9987e6de22b1884c7fb8f085acf1b64b371d0576 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sun, 22 Jun 2014 11:45:00 +0100 Subject: [PATCH] Fix problem with overwriting existing tiddlers --- core/modules/widgets/navigator.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/modules/widgets/navigator.js b/core/modules/widgets/navigator.js index 1edd19521..fe45a3850 100755 --- a/core/modules/widgets/navigator.js +++ b/core/modules/widgets/navigator.js @@ -307,7 +307,8 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) { {title: draftTitle} } )); - } else if(!this.wiki.isDraftModified(title)) { + } + if(!this.wiki.isDraftModified(title)) { event.type = "tw-cancel-tiddler"; this.dispatchEvent(event); } else if(isConfirmed) {