From fe100d800b867c2875c20320c90e97e4e679cb14 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 8 Jul 2009 04:11:43 +0000 Subject: [PATCH] Item hierarchy in items pushed to server was lost --- chrome/content/zotero/xpcom/sync.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/chrome/content/zotero/xpcom/sync.js b/chrome/content/zotero/xpcom/sync.js index fdf2f7f40..c666c574a 100644 --- a/chrome/content/zotero/xpcom/sync.js +++ b/chrome/content/zotero/xpcom/sync.js @@ -2890,10 +2890,7 @@ Zotero.Sync.Server.Data = new function() { } if (item.primary.itemType == 'note' || item.primary.itemType == 'attachment') { - if (item.sourceItemID) { - var sourceItem = Zotero.Items.get(item.sourceItemID); - xml.@sourceItem = sourceItem.key; - } + xml.@sourceItem = item.sourceItemKey; } // Note