Fixes #739, Item added to "My Publications" despite choosing cancel
This commit is contained in:
parent
f71140da64
commit
8c64d8b410
1 changed files with 3 additions and 0 deletions
|
@ -1844,6 +1844,9 @@ Zotero.CollectionTreeView.prototype.drop = Zotero.Promise.coroutine(function* (r
|
|||
let items = yield Zotero.Items.getAsync(ids);
|
||||
let io = yield this._treebox.treeBody.ownerDocument.defaultView.ZoteroPane
|
||||
.showPublicationsWizard(items);
|
||||
if (!io) {
|
||||
return;
|
||||
}
|
||||
copyOptions.childNotes = io.includeNotes;
|
||||
copyOptions.childFileAttachments = io.includeFiles;
|
||||
copyOptions.childLinks = true;
|
||||
|
|
Loading…
Reference in a new issue