Add a warning dialog for an outdated doc template
This commit is contained in:
parent
0fc9037a54
commit
50dae87b07
4 changed files with 66 additions and 6 deletions
|
@ -535,8 +535,10 @@ ZoteroCommandLineHandler.prototype = {
|
|||
|
||||
var command = cmdLine.handleFlagWithParam("ZoteroIntegrationCommand", false);
|
||||
var docId = cmdLine.handleFlagWithParam("ZoteroIntegrationDocument", false);
|
||||
var templateVersion = parseInt(cmdLine.handleFlagWithParam("ZoteroIntegrationTemplateVersion", false));
|
||||
templateVersion = isNaN(templateVersion) ? 0 : templateVersion;
|
||||
|
||||
zContext.Zotero.Integration.execCommand(agent, command, docId);
|
||||
zContext.Zotero.Integration.execCommand(agent, command, docId, templateVersion);
|
||||
}
|
||||
|
||||
// handler for Windows IPC commands
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue