1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 00:50:28 +00:00

Don't set modification fields on synced tiddlers

This commit is contained in:
Jeremy Ruston 2013-08-06 15:26:48 +01:00
parent 4765b4a02d
commit 39b6091258

View File

@ -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 + ":\""