Skip to content

Commit eb890a7

Browse files
author
Stephen
committed
fix config not sending to create
for multiple configs, was only sending the current config.
1 parent 303d829 commit eb890a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pages/pdf_export_config.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@
8181
preview : function() {
8282
var url = '<?php echo $baseurl_short?>plugins/pdf_export/pages/pdf_export_gen.php';
8383
var confignameval = jQuery('#configselect').val();
84+
jQuery("#configname").val(confignameval);
8485
if (confignameval ==''){
8586
jQuery("a#deleteconfig").hide();
8687
} else {
@@ -187,6 +188,8 @@ function loadIt() {
187188
<form method=post name="annotateform" id="annotateform" action="<?php echo $baseurl_short?>plugins/pdf_export/pages/pdf_export_gen.php" >
188189
<input type=hidden name="ref" value="<?php echo $ref?>">
189190
<input type=hidden name="uniqid" value="<?php echo $uniqid?>">
191+
<input type=hidden name="configname" id="configname" value="">
192+
190193

191194
<?php if ($is_collection){?>
192195
<div class="Question">

0 commit comments

Comments
 (0)