Skip to content

Commit

Permalink
#85 Pass form ID to Vue to set relevant publication version
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaliy-1 committed Mar 31, 2023
1 parent b563dae commit 6a17ff5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions JatsParserPlugin.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ function publicationTemplateData(string $hookname, array $args): void {
$form = new PublicationJATSUploadForm($latestPublicationApiUrl, $locales, $latestPublication, $submissionFilesXML, $msg);
$state = $templateMgr->getTemplateVars('state');
$state['components'][FORM_PUBLICATION_JATS_FULLTEXT] = $form->getConfig();
$state['publicationFormIds'][] = FORM_PUBLICATION_JATS_FULLTEXT;
$templateMgr->assign('state', $state);

$templateMgr->display($this->getTemplateResource("workflowJatsFulltext.tpl"));
Expand Down

0 comments on commit 6a17ff5

Please sign in to comment.