mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-05 23:51:42 +00:00
Missed corrections of tm-auto-save-wiki message
This commit is contained in:
@@ -244,7 +244,7 @@ NavigatorWidget.prototype.handleDeleteTiddlerEvent = function(event) {
|
||||
this.removeTitleFromStory(storyList,title);
|
||||
this.saveStoryList(storyList);
|
||||
// Trigger an autosave
|
||||
$tw.rootWidget.dispatchEvent({type: "tw-auto-save-wiki"});
|
||||
$tw.rootWidget.dispatchEvent({type: "tm-auto-save-wiki"});
|
||||
return false;
|
||||
};
|
||||
|
||||
@@ -335,7 +335,7 @@ NavigatorWidget.prototype.handleSaveTiddlerEvent = function(event) {
|
||||
this.saveStoryList(storyList);
|
||||
}
|
||||
// Trigger an autosave
|
||||
$tw.rootWidget.dispatchEvent({type: "tw-auto-save-wiki"});
|
||||
$tw.rootWidget.dispatchEvent({type: "tm-auto-save-wiki"});
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -484,7 +484,7 @@ NavigatorWidget.prototype.handlePerformImportEvent = function(event) {
|
||||
// Navigate to the $:/Import tiddler
|
||||
this.addToHistory([IMPORT_TITLE]);
|
||||
// Trigger an autosave
|
||||
$tw.rootWidget.dispatchEvent({type: "tw-auto-save-wiki"});
|
||||
$tw.rootWidget.dispatchEvent({type: "tm-auto-save-wiki"});
|
||||
};
|
||||
|
||||
exports.navigator = NavigatorWidget;
|
||||
|
||||
Reference in New Issue
Block a user