1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Don't autosave when cancelling an edit

Fixes #1762
This commit is contained in:
Jermolene 2015-06-13 18:08:09 +01:00
parent 2d7a05de98
commit 4a3a5bf1f0

View File

@ -389,9 +389,7 @@ NavigatorWidget.prototype.handleCancelTiddlerEvent = function(event) {
} else {
this.removeTitleFromStory(storyList,draftTitle);
}
this.saveStoryList(storyList);
// Trigger an autosave
$tw.rootWidget.dispatchEvent({type: "tm-auto-save-wiki"});
this.saveStoryList(storyList);
}
}
return false;