1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00

Ensure that new tiddlers created from a skeleton don't inherit created/creator fields

This commit is contained in:
Jermolene 2014-01-21 21:00:08 +00:00
parent 867dfabff8
commit 64304f9b7f

View File

@ -330,7 +330,9 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
var draftTitle = this.generateDraftTitle(title), var draftTitle = this.generateDraftTitle(title),
draftTiddler = new $tw.Tiddler({ draftTiddler = new $tw.Tiddler({
text: "" text: ""
},templateTiddler,{ },templateTiddler,
this.wiki.getCreationFields(),
{
title: draftTitle, title: draftTitle,
"draft.title": title, "draft.title": title,
"draft.of": title "draft.of": title