From 39b6091258755eb13a17daa63dee1b9c0b07ca37 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Tue, 6 Aug 2013 15:26:48 +0100 Subject: [PATCH] Don't set modification fields on synced tiddlers --- core/modules/commands/server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/commands/server.js b/core/modules/commands/server.js index c304d9b6d..330504807 100644 --- a/core/modules/commands/server.js +++ b/core/modules/commands/server.js @@ -124,7 +124,7 @@ var Command = function(params,commander,callback) { if(fields["revision"]) { delete fields["revision"]; } - state.wiki.addTiddler(new $tw.Tiddler(fields,{title: title},state.wiki.getModificationFields())); + state.wiki.addTiddler(new $tw.Tiddler(state.wiki.getCreationFields(),fields,{title: title})); var changeCount = state.wiki.getChangeCount(title).toString(); response.writeHead(204, "OK",{ Etag: "\"default/" + title + "/" + changeCount + ":\""