1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-02 12:19:11 +00:00

Fix revision handling

This commit is contained in:
Jeremy Ruston 2013-03-17 19:26:13 +00:00
parent d19fa16ca6
commit 822f436534

View File

@ -171,7 +171,7 @@ Syncer.prototype.syncFromServer = function() {
for(var t=0; t<tiddlers.length; t++) {
// Get the incoming tiddler fields, and the existing tiddler
var tiddlerFields = tiddlers[t],
incomingRevision = tiddlerFields.revision.toString(),
incomingRevision = tiddlerFields.revision,
tiddler = self.wiki.getTiddler(tiddlerFields.title),
tiddlerInfo = self.tiddlerInfo[tiddlerFields.title],
currRevision = tiddlerInfo ? tiddlerInfo.revision : null;