mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-27 10:14:17 +08:00
Fix wicked_pdf asset pipeline [SCI-8684] (#5629)
Co-authored-by: Sboursen <dev.sboursen@gmail.com>
This commit is contained in:
parent
d686d746cb
commit
8b8fd1db42
2 changed files with 3 additions and 4 deletions
|
@ -23,4 +23,4 @@ function pageNumbers() {
|
|||
});
|
||||
}
|
||||
|
||||
$('#reports-footer-header-template').on('load', pageNumbers);
|
||||
pageNumbers();
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
<html>
|
||||
<head>
|
||||
<meta charset='utf-8' />
|
||||
<%= javascript_include_tag wicked_pdf_asset_base64("reports/template_helpers") %>
|
||||
</head>
|
||||
<body id="reports-footer-header-template">
|
||||
<%= javascript_include_tag 'reports/template_helpers' %>
|
||||
<body>
|
||||
<%= yield %>
|
||||
<%= javascript_include_tag wicked_pdf_asset_base64("reports/template_helpers") %>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue