www

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

commit fdb35e2e9201fa58d2c5834a2b8de3e2a33647d8
parent 311e6f2fa74c89931674944c3ba39f510af05414
Author: aurimasv <aurimas.dev@gmail.com>
Date:   Mon, 20 May 2013 04:39:19 -0500

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 @@ -2538,14 +2538,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; }