1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Allow the save template to be specified in the message parameter

This commit is contained in:
Jeremy Ruston 2012-07-13 22:56:57 +01:00
parent 4c1f818094
commit e0765ec700

View File

@ -67,7 +67,7 @@ exports.startup = function() {
$tw.wiki.initSavers();
document.addEventListener("tw-save-wiki",function(event) {
$tw.wiki.saveWiki({
template: "$:/core/templates/tiddlywiki5.template.html",
template: event.param,
downloadType: "text/plain"
});
},false);