From af906e4b73350febbc098c945a2bb72df7d5909b Mon Sep 17 00:00:00 2001 From: Jermolene Date: Fri, 19 Dec 2014 15:20:07 +0000 Subject: [PATCH] Force filenames for downloading empty and full wikis --- core/wiki/download-wiki-button.tid | 5 ++++- editions/tw5.com/tiddlers/system/download-empty-button.tid | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/core/wiki/download-wiki-button.tid b/core/wiki/download-wiki-button.tid index 8f4cdcdcd..a31db59a8 100644 --- a/core/wiki/download-wiki-button.tid +++ b/core/wiki/download-wiki-button.tid @@ -1,4 +1,7 @@ title: $:/snippets/download-wiki-button \define lingo-base() $:/language/ControlPanel/Tools/Download/ -<$button message="tm-download-file" param="$:/core/save/all" class="tc-btn-big-green"><> {{$:/core/images/save-button}} \ No newline at end of file +<$button class="tc-btn-big-green"> +<$action-sendmessage $message="tm-download-file" $param="$:/core/save/all" filename="index.html"/> +<> {{$:/core/images/save-button}} + \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/download-empty-button.tid b/editions/tw5.com/tiddlers/system/download-empty-button.tid index dc7add786..a55cc844d 100644 --- a/editions/tw5.com/tiddlers/system/download-empty-button.tid +++ b/editions/tw5.com/tiddlers/system/download-empty-button.tid @@ -1,3 +1,6 @@ title: $:/editions/tw5.com/snippets/download-empty-button -<$button message="tm-download-file" param="$:/editions/tw5.com/download-empty" class="tc-btn-big-green">Download Empty {{$:/core/images/save-button}} \ No newline at end of file +<$button class="tc-btn-big-green"> +<$action-sendmessage $message="tm-download-file" $param="$:/editions/tw5.com/download-empty" filename="empty.html"/> +Download Empty {{$:/core/images/save-button}} + \ No newline at end of file