Changes for page Download Version

Last modified by Simon Urli on 2023/10/10

From version 15.2
edited by Raluca Stavro
on 2023/07/05
Change comment: There is no comment for this version
To version 15.5
edited by Raluca Stavro
on 2023/07/05
Change comment: There is no comment for this version

Summary

Details

XWiki.JavaScriptExtension[0]
Code
... ... @@ -8,11 +8,11 @@
8 8   if (webmecanikForm.length > 0) {
9 9   webmecanikForm = webmecanikForm[0];
10 10   // Update.
11 - /*$("input[name='mauticform[email]']", webmecanikForm).val(userEmail);
11 + $("input[name='mauticform[email]']", webmecanikForm).val(userEmail);
12 12   // Submit the data.
13 13   setTimeout(function(){
14 14   $("button[name='mauticform[submit]']", webmecanikForm).click();
15 - }, 500);*/
15 + }, 500);
16 16   }
17 17   // Redirect to the download URL.
18 18   location.href = "$request.downloadURL";
XWiki.JavaScriptExtension[1]
Code
... ... @@ -6,6 +6,6 @@
6 6  
7 7   // Skip
8 8   $('#downloadSkipButton').on('click', function(event) {
9 - xga(event, 'send', 'event', 'download', 'skip', 'skip');
9 + //xga(event, 'send', 'event', 'download', 'skip', 'skip');
10 10   });
11 11  });

Get Connected