Fix error saving PDF if Zotero pane hasn't been opened in window
This commit is contained in:
parent
5fc2dd4d44
commit
9000c9dcc7
1 changed files with 1 additions and 1 deletions
|
@ -3240,7 +3240,7 @@ var ZoteroPane = new function()
|
|||
//
|
||||
//
|
||||
|
||||
if (!this.canEditFiles(row)) {
|
||||
if (row && !this.canEditFiles(row)) {
|
||||
this.displayCannotEditLibraryFilesMessage();
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue