1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00

Fix problem with overwriting existing tiddlers

This commit is contained in:
Jermolene 2014-06-22 11:45:00 +01:00
parent 38530f14f2
commit 9987e6de22

View File

@ -307,7 +307,8 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
{title: draftTitle} {title: draftTitle}
} }
)); ));
} else if(!this.wiki.isDraftModified(title)) { }
if(!this.wiki.isDraftModified(title)) {
event.type = "tw-cancel-tiddler"; event.type = "tw-cancel-tiddler";
this.dispatchEvent(event); this.dispatchEvent(event);
} else if(isConfirmed) { } else if(isConfirmed) {