1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-02 18:23:28 +00:00

Fixed problem with tags field being set to "undefined" for blank tiddlers

This commit is contained in:
Jeremy Ruston 2012-10-21 16:50:37 +01:00
parent 261ee54b5c
commit 8d4be5934b

View File

@ -24,7 +24,7 @@ exports.getFieldString = function(field) {
var value = this.fields[field]; var value = this.fields[field];
// Check for a missing field // Check for a missing field
if(value === undefined) { if(value === undefined) {
return undefined; return "";
} }
// Parse the field with the associated module (if any) // Parse the field with the associated module (if any)
var fieldModule = $tw.Tiddler.fieldModules[field]; var fieldModule = $tw.Tiddler.fieldModules[field];