www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 8c64d8b410992f801272e651556a56f9bd9665cf
parent f71140da64dbdaf286e4d29d453147e798864e74
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 26 May 2015 17:20:42 -0400

Fixes #739, Item added to "My Publications" despite choosing cancel

Diffstat:
Mchrome/content/zotero/xpcom/collectionTreeView.js | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/chrome/content/zotero/xpcom/collectionTreeView.js b/chrome/content/zotero/xpcom/collectionTreeView.js @@ -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;