mirror of
https://github.com/zotero/zotero.git
synced 2026-09-20 00:12:49 +00:00
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…
Add table
Reference in a new issue