1
0
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:
Jeremy Ruston
2013-05-07 18:09:15 +01:00
parent 24db38c06b
commit e501c0ec2a
3 changed files with 11 additions and 2 deletions

View File

@@ -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");
});
};
/*