commit de696d32e85efc1241f612ce8e0097c214dc9956
parent f4258507643e1622b6d298eb4994fa15afd78da8
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 11 Jan 2012 18:08:11 -0500
Don't show access error removing Duplicates view from read-only library
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -1519,6 +1519,7 @@ var ZoteroPane = new function()
// Remove virtual duplicates collection
if (itemGroup.isDuplicates()) {
this.setVirtual(itemGroup.ref.libraryID, 'duplicates', false);
+ return;
}
// Remove virtual unfiled collection
else if (itemGroup.isUnfiled()) {