1
0
mirror of https://github.com/Stirling-Tools/Stirling-PDF.git synced 2024-11-23 15:21:25 +01:00

Update get-info-on-pdf.html #2212

This commit is contained in:
Anthony Stirling 2024-11-11 23:12:57 +00:00 committed by GitHub
parent 361a0c9be8
commit ceabcf2b3d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,10 +30,8 @@
<!-- Button to download the JSON -->
<a href="#" id="downloadJson" class="btn btn-primary mt-3" style="display: none;" th:text="#{getPdfInfo.downloadJson}">Download JSON</a>
</div>
<script th:src="@{'/js/fetch-utils.js'}"></script>
<script>
import { fetchWithCsrf } from 'js/fetch-utils.js';
document.getElementById("pdfInfoForm").addEventListener("submit", function(event) {
event.preventDefault();
@ -156,4 +154,4 @@
<th:block th:insert="~{fragments/footer.html :: footer}"></th:block>
</div>
</body>
</html>
</html>