commit 9000c9dcc7c191b5d77d3feca9fefcc8a813d9d3 parent 5fc2dd4d44bb226aa06517b67d66396e14b1f474 Author: Dan Stillman <dstillman@zotero.org> Date: Thu, 23 Jul 2015 01:24:37 -0400 Fix error saving PDF if Zotero pane hasn't been opened in window Diffstat:
| M | 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 @@ -3240,7 +3240,7 @@ var ZoteroPane = new function() // // - if (!this.canEditFiles(row)) { + if (row && !this.canEditFiles(row)) { this.displayCannotEditLibraryFilesMessage(); return; }