1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00

Get rid of the modal popup for empty wikis

Ugly and clumsy.
This commit is contained in:
Jeremy Ruston 2013-09-01 22:33:23 +01:00
parent e7a6e23906
commit 2be9e82f84
2 changed files with 0 additions and 16 deletions

View File

@ -1,11 +0,0 @@
title: $:/messages/GettingStarted
type: text/vnd.tiddlywiki
subtitle: Welcome to ~TiddlyWiki
footer: <$button message="tw-close-tiddler" class="btn btn-primary">Close</$button>
help: http://five.tiddlywiki.com/static/GettingStarted
This ~TiddlyWiki is empty.
You can create and edit tiddlers, but before you use ~TiddlyWiki in earnest it is strongly advised that you verify that you can save and retrieve your changes.
~TiddlyWiki5 is currently a preliminary alpha release. Visit http://five.tiddlywiki.com/ for the latest information on how to use it.

View File

@ -117,11 +117,6 @@ exports.startup = function() {
$tw.utils.dispatchCustomEvent(document,"tw-modal",{ $tw.utils.dispatchCustomEvent(document,"tw-modal",{
param: "$:/messages/SaveInstructions" param: "$:/messages/SaveInstructions"
}); });
} else if($tw.wiki.countTiddlers() === 0){
// Otherwise, if give instructions if this is an empty TiddlyWiki
$tw.utils.dispatchCustomEvent(document,"tw-modal",{
param: "$:/messages/GettingStarted"
});
} }
} else { } else {
// On the server, start a commander with the command line arguments // On the server, start a commander with the command line arguments