mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 23:34:50 +00:00
Fix problem with new tiddler button
This commit is contained in:
parent
e90e588621
commit
f37a7101a7
@ -405,9 +405,9 @@ NavigatorWidget.prototype.handleNewTiddlerEvent = function(event) {
|
||||
mergedTags = $tw.utils.pushTop($tw.utils.parseStringArray(templateTiddler.tags),existingTiddler.fields.tags);
|
||||
} else if(existingTiddler && existingTiddler.fields.tags) {
|
||||
mergedTags = existingTiddler.fields.tags;
|
||||
} else if(templateTiddler.tags) {
|
||||
} else if(templateTiddler && templateTiddler.tags) {
|
||||
mergedTags = templateTiddler.tags;
|
||||
} else if(templateTiddler.fields.tags) {
|
||||
} else if(templateTiddler && templateTiddler.fields && templateTiddler.fields.tags) {
|
||||
mergedTags = templateTiddler.fields.tags;
|
||||
}
|
||||
// Save the draft tiddler
|
||||
|
Loading…
Reference in New Issue
Block a user