Fixed "getFile() can only be called on attachment items" error whent here was a conflict set with both a regular item and an attachment
This commit is contained in:
parent
7572703065
commit
d7d4bc01d7
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@
|
|||
}
|
||||
|
||||
// Check for note or attachment
|
||||
if (this.type == 'item') {
|
||||
if (val instanceof Zotero.Item) {
|
||||
this.type = this._getTypeFromItem(val);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue