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.4
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";

Get Connected