Add temporary prefs checkbox to use internal PDF reader
And use when opening PDFs in My Library from items list and zotero://open-pdf This also adds "Zotero" to the main PDF reader pref, which will be the real way to set this, but that option is hidden for now so that group library items will still open with the configured reader.
This commit is contained in:
parent
04c64fe9fc
commit
f0816cc8fb
7 changed files with 64 additions and 7 deletions
|
@ -1182,7 +1182,7 @@ function ZoteroProtocolHandler() {
|
|||
var opened = false;
|
||||
if (page) {
|
||||
try {
|
||||
opened = await Zotero.OpenPDF.openToPage(path, page);
|
||||
opened = await Zotero.OpenPDF.openToPage(item, page);
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.logError(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue