1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 09:30:28 +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}
}
));
} else if(!this.wiki.isDraftModified(title)) {
}
if(!this.wiki.isDraftModified(title)) {
event.type = "tw-cancel-tiddler";
this.dispatchEvent(event);
} else if(isConfirmed) {