1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-11 18:00:26 +00:00

Fix problem with done button not saving unchanged tiddlers

This commit is contained in:
Jermolene 2014-11-10 12:56:33 +00:00
parent c44a53e670
commit 3035badf14

View File

@ -302,10 +302,7 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
}
));
}
if(!isRename && !this.wiki.isDraftModified(title)) {
event.type = "tm-cancel-tiddler";
this.dispatchEvent(event);
} else if(isConfirmed) {
if(isConfirmed) {
// Save the draft tiddler as the real tiddler
this.wiki.addTiddler(new $tw.Tiddler(this.wiki.getCreationFields(),tiddler,{
title: draftTitle,