mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-02 08:50:46 +00:00
Fixed problem with tags field being set to "undefined" for blank tiddlers
This commit is contained in:
parent
261ee54b5c
commit
8d4be5934b
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user