Add ZoteroPaneOpen command line argument to open Zotero automatically
This commit is contained in:
parent
73f775950d
commit
61c36b0523
2 changed files with 14 additions and 0 deletions
|
@ -409,6 +409,13 @@ ZoteroCommandLineHandler.prototype = {
|
|||
}
|
||||
}
|
||||
}
|
||||
// handler to open Zotero pane at startup in Zotero for Firefox
|
||||
else {
|
||||
var zPaneOpen = cmdLine.handleFlag("ZoteroPaneOpen", false);
|
||||
if (zPaneOpen) {
|
||||
this.Zotero.openPane = true;
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
contractID: "@mozilla.org/commandlinehandler/general-startup;1?type=zotero",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue