mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Use current collection when adding items (#5598)
This commit is contained in:
parent
59a789c750
commit
7aefa6d9ee
1 changed files with 1 additions and 1 deletions
|
|
@ -4378,7 +4378,7 @@ var ZoteroPane = new function () {
|
|||
}
|
||||
// Only allow targets within the current library for now
|
||||
// TODO: Come back to this once we support copying items between libraries from the Add to Collection menu
|
||||
let id = await this.newCollection();
|
||||
let id = await this.newCollection(this.getSelectedCollection()?.key);
|
||||
if (!id) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue