From e0765ec7004e626e2257b9199f1186c00a17007a Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Fri, 13 Jul 2012 22:56:57 +0100 Subject: [PATCH] Allow the save template to be specified in the message parameter --- core/modules/startup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/startup.js b/core/modules/startup.js index 3c2ed1eea..4854e8a74 100644 --- a/core/modules/startup.js +++ b/core/modules/startup.js @@ -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);