From c822aad2b6fb159c5028d9795b2d51f3eec35e40 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 4 Sep 2008 20:27:41 +0000 Subject: [PATCH] - Fix "Creator must be a Zotero.Creator object in Zotero.Item.setCreator()" problem -- now looks for creator data within item block when it doesn't exist locally - Fix a couple other problems with creators that could cause changes not to be synced or to cause unnecessary conflicts --- chrome/content/zotero/xpcom/data/item.js | 6 +- chrome/content/zotero/xpcom/sync.js | 77 ++++++++++++++++++------ 2 files changed, 64 insertions(+), 19 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 36d053c0d..2cdd6fec7 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3538,8 +3538,12 @@ Zotero.Item.prototype._loadCreators = function() { } for (var i=0; i