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:
parent
c44a53e670
commit
3035badf14
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user