Disable obsolete "Open in External Viewer" menu option
Hasn't done anything since in-browser viewing of certain file types in Zotero 4 for Firefox. Perhaps we'd bring it back at some point, but disable for now.
This commit is contained in:
parent
744837cce7
commit
7b10182e4a
1 changed files with 3 additions and 2 deletions
|
@ -499,8 +499,9 @@ var Zotero_LocateMenu = new function() {
|
|||
this.useExternalViewer = true;
|
||||
|
||||
this.canHandleItem = Zotero.Promise.coroutine(function* (item) {
|
||||
return (this.useExternalViewer ^ Zotero.Prefs.get('launchNonNativeFiles'))
|
||||
&& (yield _getBestNonNativeAttachment(item));
|
||||
//return (this.useExternalViewer ^ Zotero.Prefs.get('launchNonNativeFiles'))
|
||||
// && (yield _getBestNonNativeAttachment(item));
|
||||
return false;
|
||||
});
|
||||
|
||||
this.handleItems = Zotero.Promise.coroutine(function* (items, event) {
|
||||
|
|
Loading…
Reference in a new issue