mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 17:10:29 +00:00
Allow the save template to be specified in the message parameter
This commit is contained in:
parent
4c1f818094
commit
e0765ec700
@ -67,7 +67,7 @@ exports.startup = function() {
|
|||||||
$tw.wiki.initSavers();
|
$tw.wiki.initSavers();
|
||||||
document.addEventListener("tw-save-wiki",function(event) {
|
document.addEventListener("tw-save-wiki",function(event) {
|
||||||
$tw.wiki.saveWiki({
|
$tw.wiki.saveWiki({
|
||||||
template: "$:/core/templates/tiddlywiki5.template.html",
|
template: event.param,
|
||||||
downloadType: "text/plain"
|
downloadType: "text/plain"
|
||||||
});
|
});
|
||||||
},false);
|
},false);
|
||||||
|
Loading…
Reference in New Issue
Block a user