Fix error saving PDF if Zotero pane hasn't been opened in window

This commit is contained in:
Dan Stillman 2015-07-23 01:24:37 -04:00
parent 5fc2dd4d44
commit 9000c9dcc7

View file

@ -3240,7 +3240,7 @@ var ZoteroPane = new function()
//
//
if (!this.canEditFiles(row)) {
if (row && !this.canEditFiles(row)) {
this.displayCannotEditLibraryFilesMessage();
return;
}