1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 10:29:54 +00:00

Ensure creation fields set for data tiddlers

This commit is contained in:
Jermolene 2014-12-24 10:29:00 +00:00
parent 7481b6c49c
commit 9f087e7667

View File

@ -662,7 +662,7 @@ exports.setTiddlerData = function(title,data,fields) {
newFields.type = "application/json";
newFields.text = JSON.stringify(data,null,$tw.config.preferences.jsonSpaces);
}
this.addTiddler(new $tw.Tiddler(existingTiddler,fields,newFields,this.getModificationFields()));
this.addTiddler(new $tw.Tiddler(this.getCreationFields(),existingTiddler,fields,newFields,this.getModificationFields()));
};
/*