Skip to content

Commit

Permalink
Fixed issue #18153: 'Export this question to PDF' button in View Stat…
Browse files Browse the repository at this point in the history
…istics - HTML does nothing (#2457)

Dev: Charts or not
  • Loading branch information
gabrieljenik committed Jun 20, 2022
1 parent 0f3c09c commit baf7a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -16,7 +16,7 @@
$qqid = str_replace ( '-', '__' , $qqid );
?>
<tr>
<td colspan='4 id='statzone_<?php echo $rt;?>'>
<td colspan='4' id='statzone_<?php echo $rt;?>'>
<?php if(count($labels) < 70): ?>
<!-- Charts -->
<div class="row">
Expand Down
Expand Up @@ -17,7 +17,7 @@
<strong>
<?php echo sprintf(gT("Summary for %s"),$outputs['qtitle']); ?>
</strong>
<button class="pull-right action_js_export_to_pdf btn btn-default btn-sm hidden-print" data-question-id="quid_<?php echo $outputs['parentqid'];?>" data-toggle="tooltip" title="<?php eT('Export this question to PDF.'); ?>">
<button class="pull-right action_js_export_to_pdf btn btn-default btn-sm hidden-print" type="button" data-question-id="quid_<?php echo $outputs['parentqid'];?>" data-toggle="tooltip" title="<?php eT('Export this question to PDF.'); ?>">
<i class="fa fa-file-pdf-o"></i>
</button>
</th>
Expand Down

0 comments on commit baf7a27

Please sign in to comment.