commit 4161341d2d575f435cd333cd78e8e049816ef178
parent e643d85d2ca226053c00774497463dec63d92f3f
Author: Dan Stillman <dstillman@zotero.org>
Date: Fri, 30 Dec 2011 12:44:19 -0500
Fix error switching options in download dialog before Z pane was opened
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -1092,6 +1092,9 @@ var ZoteroPane = new function()
this.getItemGroup = function () {
+ if (!this.collectionsView.selection) {
+ return false;
+ }
return this.collectionsView._getItemAtRow(this.collectionsView.selection.currentIndex);
}