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
|
@ -63,7 +63,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check for note or attachment
|
// Check for note or attachment
|
||||||
if (this.type == 'item') {
|
if (val instanceof Zotero.Item) {
|
||||||
this.type = this._getTypeFromItem(val);
|
this.type = this._getTypeFromItem(val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user