From cc4d3db84583d818421bce545af7a8108da8ef4d Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 17 Jan 2012 01:08:58 -0500 Subject: [PATCH] Fix a couple syncing errors --- chrome/content/zotero/xpcom/sync.js | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index a20857416..f621b58a3 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -3947,7 +3947,8 @@ Zotero.Sync.Server.Data = new function() { // Item data var fields = itemNode.getElementsByTagName('field'); - for each(var field in fields) { + for (var i=0, len=fields.length; i