commit 0dbd02abe982148bd9332f95dc932487b25b26ee parent c822aad2b6fb159c5028d9795b2d51f3eec35e40 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 4 Sep 2008 22:27:51 +0000 Fix regression from r3335 that caused some creator changes not to sync Diffstat:
| M | chrome/content/zotero/xpcom/sync.js | | | 6 | +----- |
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js @@ -2368,11 +2368,7 @@ Zotero.Sync.Server.Data = new function() { creator = new Zotero.Creator; } else { - var creatorID = parseInt(xmlCreator.@id); - creator = Zotero.Creators.get(creatorID); - if (!creator) { - creator = new Zotero.Creator(creatorID); - } + creator = new Zotero.Creator(parseInt(xmlCreator.@id)); /* if (creator.exists()) { throw ("Creator specified in XML node already exists "