From 9000c9dcc7c191b5d77d3feca9fefcc8a813d9d3 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 23 Jul 2015 01:24:37 -0400 Subject: [PATCH] Fix error saving PDF if Zotero pane hasn't been opened in window --- chrome/content/zotero/zoteroPane.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 1787c20dc..ec0da47fd 100644 --- a/chrome/content/zotero/zoteroPane.js +++ b/chrome/content/zotero/zoteroPane.js @@ -3240,7 +3240,7 @@ var ZoteroPane = new function() // // - if (!this.canEditFiles(row)) { + if (row && !this.canEditFiles(row)) { this.displayCannotEditLibraryFilesMessage(); return; }