This commit is contained in:
parent
c267aff246
commit
30b4c87910
5 changed files with 2 additions and 12 deletions
|
@ -1 +1 @@
|
||||||
Sun Sep 29 22:53:34 UTC 2024
|
Tue Oct 8 15:06:48 UTC 2024
|
||||||
|
|
BIN
join.fr.mo
BIN
join.fr.mo
Binary file not shown.
|
@ -110,8 +110,6 @@
|
||||||
<div class="formgroup">
|
<div class="formgroup">
|
||||||
<label for="name">Name <i>(optional)</i></label>
|
<label for="name">Name <i>(optional)</i></label>
|
||||||
<input id="name" name="name" type="text" maxlength="40">
|
<input id="name" name="name" type="text" maxlength="40">
|
||||||
<label for="emptyfield">This should be left unchanged</label>
|
|
||||||
<input id="emptyfield" name="emptyfield" type="text" maxlength="40">
|
|
||||||
|
|
||||||
<p><label for="email">Contact email address</label>
|
<p><label for="email">Contact email address</label>
|
||||||
<input id="email" name="email" type="email" required></p>
|
<input id="email" name="email" type="email" required></p>
|
||||||
|
|
|
@ -117,9 +117,7 @@ pour vous inscrire</p></noscript>
|
||||||
<h2 id="basic-info">Informations de base:</h2>
|
<h2 id="basic-info">Informations de base:</h2>
|
||||||
<div class="formgroup">
|
<div class="formgroup">
|
||||||
<label for="name">Nom <i>(optionnel)</i></label> <input id="name"
|
<label for="name">Nom <i>(optionnel)</i></label> <input id="name"
|
||||||
name="name" type="text" maxlength="40"> <label for="emptyfield">Veuillez ne
|
name="name" type="text" maxlength="40">
|
||||||
pas écrire dans cette espace</label> <input id="emptyfield"
|
|
||||||
name="emptyfield" type="text" maxlength="40">
|
|
||||||
|
|
||||||
<p><label for="email">Adresse électronique de contact</label> <input id="email"
|
<p><label for="email">Adresse électronique de contact</label> <input id="email"
|
||||||
name="email" type="email" required></p>
|
name="email" type="email" required></p>
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
|
|
||||||
async function createIssue() {
|
async function createIssue() {
|
||||||
var baseurl = 'https://lab.ilot.io/api/v4/projects/99/issues?&labels=Request';
|
var baseurl = 'https://lab.ilot.io/api/v4/projects/99/issues?&labels=Request';
|
||||||
var emptyfield = document.getElementById("emptyfield").value;
|
|
||||||
var mathspamtrap = document.getElementById("math-spam-trap").value;
|
var mathspamtrap = document.getElementById("math-spam-trap").value;
|
||||||
var agreetoterms = document.getElementById("agree-to-terms").checked;
|
var agreetoterms = document.getElementById("agree-to-terms").checked;
|
||||||
var email = document.getElementById("email").value;
|
var email = document.getElementById("email").value;
|
||||||
|
@ -36,11 +35,6 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(emptyfield) {
|
|
||||||
alert("Empty field should be empty");
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
if(mathspamtrap != "9") {
|
if(mathspamtrap != "9") {
|
||||||
alert("Wrong math answer");
|
alert("Wrong math answer");
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue