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
+1 -1
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()));
};
/*