1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-01-23 07:26:54 +00:00

Better titles for drafts of new tiddlers

This commit is contained in:
Jeremy Ruston 2013-03-18 10:59:47 +00:00
parent 8ca7368200
commit 5b6376a386

View File

@ -232,7 +232,7 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
});
this.renderer.renderTree.wiki.addTiddler(tiddler);
// Create the draft tiddler
var draftTitle = "New Tiddler at " + (new Date()),
var draftTitle = this.generateDraftTitle(title),
draftTiddler = new $tw.Tiddler({
text: "Type the text for the new tiddler",
title: draftTitle,