From c6de353d23de18d2e098572526c1e8fe8b5e5c60 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 5 Sep 2008 06:03:45 +0000 Subject: [PATCH] Fix error and blank CR window when an item with tags is in conflict --- chrome/content/zotero/xpcom/data/item.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index 7bffd35ea..36623bd41 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3066,10 +3066,8 @@ Zotero.Item.prototype.clone = function(includePrimary) { } if (obj.tags) { - Zotero.debug('============================='); - Zotero.debug(obj.tags); for each(var tag in obj.tags) { - newItem.addTagByID(tag.id); + newItem.addTagByID(tag.primary.tagID); } }