From 2324992ac33b4fb1e65a235ff363e1a8effa3429 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Mon, 14 Feb 2011 07:44:22 +0000 Subject: [PATCH] Don't do anything on double-click of Unfiled Items --- chrome/content/zotero/zoteroPane.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 55a171e4c4..d4ff98b4ec 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -2346,6 +2346,10 @@ var ZoteroPane = new function() } if (itemGroup.isSearch()) { + // Don't do anything on double-click of Unfiled Items + if ((itemGroup.ref.id + "").match(/^8634533000/)) { // 'UNFILED000' + return; + } ZoteroPane.editSelectedCollection(); return; }