mirror of
https://github.com/zotero/zotero.git
synced 2026-10-08 03:08:19 +00:00
Allow loadChildItems() to be called on note/attachment items
Otherwise loadAllData() doesn't work
This commit is contained in:
parent
fbef911cb7
commit
40e86147a4
1 changed files with 1 additions and 2 deletions
|
|
@ -4471,9 +4471,8 @@ Zotero.Item.prototype.loadChildItems = Zotero.Promise.coroutine(function* (reloa
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
if (this.isNote() || this.isAttachment()) {
|
||||
throw new Error("Can only load child items for regular item");
|
||||
return;
|
||||
}
|
||||
|
||||
// Attachments
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue