From 9f087e7667c420478528455a74212130ddece81a Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 24 Dec 2014 10:29:00 +0000 Subject: [PATCH] Ensure creation fields set for data tiddlers --- core/modules/wiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 18868e61c..75245ac17 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -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())); }; /*