mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-28 04:55:14 +00:00
Enhance TiddlyFox saver to display a notification on success
This commit is contained in:
@@ -622,7 +622,9 @@ exports.saveWiki = function(options) {
|
||||
var template = options.template || "$:/core/templates/tiddlywiki5.template.html",
|
||||
downloadType = options.downloadType || "text/plain";
|
||||
var text = this.renderTiddler(downloadType,template);
|
||||
this.callSaver("save",text);
|
||||
this.callSaver("save",text,function(err) {
|
||||
$tw.notifier.display("$:/messages/Saved");
|
||||
});
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user