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