]> _ Git - fluidbook-html5.git/commitdiff
wip #7871 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 6 Jan 2026 16:38:28 +0000 (17:38 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 6 Jan 2026 16:38:28 +0000 (17:38 +0100)
js/libs/fluidbook/menu/fluidbook.pdfform.js

index b1258eb4c5d9a8472d5b0e1fed1fa8a747cd309a..8cfde80f3d82ee2d7e51882c7ff1b4be7f983273 100644 (file)
@@ -7,6 +7,7 @@ FluidbookPDFForm.prototype = {
     init: function () {
         let $this = this;
         $(document).on('click', '.mview.pdfform .fonctions a.submit', function () {
+            $this.fluidbook.displayLoader();
             let linkId = $(this).closest('.mview').data('linkid');
             let doc = $('.mview[data-menu="pdfform"] iframe').get(0).contentDocument;
             let fields = {};
@@ -36,6 +37,7 @@ FluidbookPDFForm.prototype = {
     },
 
     confirmation: function () {
+        $this.fluidbook.hideLoader();
         $('.mview.pdfform .content').html('<div class="confirmation">' + this.fluidbook.settings.pdfform_confirm + '</div>');
         $('.mview.pdfform').attr('data-max-width', 500);
         this.fluidbook.resize.resize();