Fix error and blank CR window when an item with tags is in conflict
This commit is contained in:
parent
5bc80d4cfe
commit
c6de353d23
|
@ -3066,10 +3066,8 @@ Zotero.Item.prototype.clone = function(includePrimary) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (obj.tags) {
|
if (obj.tags) {
|
||||||
Zotero.debug('=============================');
|
|
||||||
Zotero.debug(obj.tags);
|
|
||||||
for each(var tag in obj.tags) {
|
for each(var tag in obj.tags) {
|
||||||
newItem.addTagByID(tag.id);
|
newItem.addTagByID(tag.primary.tagID);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user