Don't show access error removing Duplicates view from read-only library

This commit is contained in:
Dan Stillman 2012-01-11 18:08:11 -05:00
parent f425850764
commit de696d32e8

View file

@ -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()) {