1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 03:57:21 +00:00

Preserve modified title when reusing drafts

Should fix the problem raised by @xcazin
This commit is contained in:
Jermolene 2014-10-10 20:58:34 +01:00
parent a671e72706
commit 644ced6d4e

View File

@ -412,14 +412,14 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
}
// Save the draft tiddler
var draftTiddler = new $tw.Tiddler({
text: ""
text: "",
"draft.title": title
},
templateTiddler,
existingTiddler,
this.wiki.getCreationFields(),
{
title: draftTitle,
"draft.title": title,
"draft.of": title,
tags: mergedTags
},this.wiki.getModificationFields());