mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-25 19:40:45 -08:00
Fix problem with done button not saving unchanged tiddlers
This commit is contained in:
parent
c44a53e670
commit
3035badf14
1 changed files with 1 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue