Allow export of empty collections with subcollections, since Zotero RDF exports subcollections

This commit is contained in:
Dan Stillman 2008-07-08 03:53:48 +00:00
parent ea95f69021
commit d6a3ddcdf4

View File

@ -1376,6 +1376,10 @@ var ZoteroPane = new function()
if (this.itemsView.rowCount>0) {
var enable = [m.exportCollection, m.createBibCollection, m.loadReport];
}
else if (!this.collectionsView.isContainerEmpty(this.collectionsView.selection.currentIndex)) {
var enable = [m.exportCollection];
var disable = [m.createBibCollection, m.loadReport];
}
else
{
var disable = [m.exportCollection, m.createBibCollection, m.loadReport];