Fixed problem with field mauling when reading skinny tiddlers

The problem was showing up as tiddlers with the field “fields” and the
value “[Object object]”.
This commit is contained in:
Jermolene
2014-02-11 15:47:56 +00:00
parent daa79a8612
commit 1086c51019
@@ -145,7 +145,7 @@ TiddlyWebAdaptor.prototype.getSkinnyTiddlers = function(callback) {
// Process the tiddlers to make sure the revision is a string
var tiddlers = JSON.parse(data);
for(var t=0; t<tiddlers.length; t++) {
var tiddlerFields = self.convertTiddlerFromTiddlyWebFormat(tiddlers[t]);
tiddlers[t] = self.convertTiddlerFromTiddlyWebFormat(tiddlers[t]);
}
// Invoke the callback with the skinny tiddlers
callback(null,tiddlers);