commit 34800ec81063a87bd68da7f6e6ae213ff1eb6227
parent 37e1245aafb8d4246b173e713123cca44ec0cb72
Author: Dan Stillman <dstillman@zotero.org>
Date: Sat, 3 Jul 2010 20:14:30 +0000
Don't show context menu for source pane headers (e.g., "Group Libraries")
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/overlay.js b/chrome/content/zotero/overlay.js
@@ -1851,6 +1851,9 @@ var ZoteroPane = new function()
else if (itemGroup.isTrash()) {
show = [m.emptyTrash];
}
+ else if (itemGroup.isHeader()) {
+ // Don't show menu for headers
+ }
else if (itemGroup.isCommons()) {
show = [m.refreshCommons];
}