Fix error and blank CR window when an item with tags is in conflict

This commit is contained in:
Dan Stillman 2008-09-05 06:03:45 +00:00
parent 5bc80d4cfe
commit c6de353d23

View File

@ -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);
}
}