mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-28 11:00:27 +00:00
Preserve modified title when reusing drafts
Should fix the problem raised by @xcazin
This commit is contained in:
parent
a671e72706
commit
644ced6d4e
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user