www

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

commit 375f0774c0cfc201b5569f2900818da1d24429a3
parent 230ec24251f631970c6c0358628b50b66c0247eb
Author: Dan Stillman <dstillman@gmail.com>
Date:   Tue, 16 Jul 2013 00:32:15 -0700

Merge pull request #327 from aurimasv/dup-right-click

Allow right-click on multiple items in duplicate view. Closes #53
Diffstat:
Mchrome/content/zotero/zoteroPane.js | 10++--------
1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js @@ -2563,14 +2563,8 @@ var ZoteroPane = new function() else if (tree.id == 'zotero-items-tree') { let itemGroup = ZoteroPane_Local.getItemGroup(); if (itemGroup.isDuplicates()) { - if (event.button == 0 && (event.metaKey || event.shiftKey - || event.altKey || event.ctrlKey)) { - return; - } - - // Allow right-click on single items/attachments - var items = ZoteroPane_Local.getSelectedItems(); - if (event.button != 0 && items.length == 1) { + if (event.button != 0 || event.metaKey || event.shiftKey + || event.altKey || event.ctrlKey) { return; }