mirror of
https://github.com/YunoHost-Apps/emailpoubelle_ynh.git
synced 2024-09-03 18:26:29 +02:00
Suppression des console.log
This commit is contained in:
parent
759f2458a4
commit
5dc891ea2f
1 changed files with 0 additions and 6 deletions
|
@ -284,9 +284,7 @@ if (isset($_POST['username']) && $_POST['username'] != '') { // minimal anti-spa
|
||||||
return re.test(email);
|
return re.test(email);
|
||||||
}
|
}
|
||||||
function printForm() {
|
function printForm() {
|
||||||
console.log("appel de la fonction : " + document.getElementById('input-email').value + document.getElementById('input-alias').value);
|
|
||||||
if (validateEmail(document.getElementById('input-email').value) && document.getElementById('input-alias').value != '') {
|
if (validateEmail(document.getElementById('input-email').value) && document.getElementById('input-alias').value != '') {
|
||||||
console.log("Les 2 sont OK");
|
|
||||||
document.getElementById('input-alias').disabled = false;
|
document.getElementById('input-alias').disabled = false;
|
||||||
document.getElementById('input-domain').disabled = false;
|
document.getElementById('input-domain').disabled = false;
|
||||||
document.getElementById('button-list').disabled = false;
|
document.getElementById('button-list').disabled = false;
|
||||||
|
@ -299,7 +297,6 @@ if (isset($_POST['username']) && $_POST['username'] != '') { // minimal anti-spa
|
||||||
document.getElementById('form-comment').style.display = "block" ;
|
document.getElementById('form-comment').style.display = "block" ;
|
||||||
}
|
}
|
||||||
} else if (validateEmail(document.getElementById('input-email').value)) {
|
} else if (validateEmail(document.getElementById('input-email').value)) {
|
||||||
console.log("email ok");
|
|
||||||
document.getElementById('input-alias').disabled = false;
|
document.getElementById('input-alias').disabled = false;
|
||||||
document.getElementById('input-domain').disabled = false;
|
document.getElementById('input-domain').disabled = false;
|
||||||
document.getElementById('button-list').disabled = false;
|
document.getElementById('button-list').disabled = false;
|
||||||
|
@ -312,7 +309,6 @@ if (isset($_POST['username']) && $_POST['username'] != '') { // minimal anti-spa
|
||||||
document.getElementById('input-life').disabled = true;
|
document.getElementById('input-life').disabled = true;
|
||||||
document.getElementById('form-comment').style.display = "none" ;
|
document.getElementById('form-comment').style.display = "none" ;
|
||||||
} else {
|
} else {
|
||||||
console.log("rien OK");
|
|
||||||
document.getElementById('input-alias').disabled = true;
|
document.getElementById('input-alias').disabled = true;
|
||||||
document.getElementById('input-domain').disabled = true;
|
document.getElementById('input-domain').disabled = true;
|
||||||
document.getElementById('button-list').disabled = true;
|
document.getElementById('button-list').disabled = true;
|
||||||
|
@ -326,7 +322,6 @@ if (isset($_POST['username']) && $_POST['username'] != '') { // minimal anti-spa
|
||||||
}
|
}
|
||||||
function ongletPrint() {
|
function ongletPrint() {
|
||||||
var ongletActif = document.getElementById('onglet-actif').value;
|
var ongletActif = document.getElementById('onglet-actif').value;
|
||||||
console.log(ongletActif);
|
|
||||||
document.getElementById('onglet-add').className = "close" ;
|
document.getElementById('onglet-add').className = "close" ;
|
||||||
document.getElementById('onglet-del').className = "close" ;
|
document.getElementById('onglet-del').className = "close" ;
|
||||||
document.getElementById('onglet-list').className = "close" ;
|
document.getElementById('onglet-list').className = "close" ;
|
||||||
|
@ -355,7 +350,6 @@ if (isset($_POST['username']) && $_POST['username'] != '') { // minimal anti-spa
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function ongletChange(ongletValue) {
|
function ongletChange(ongletValue) {
|
||||||
console.log(ongletValue);
|
|
||||||
document.getElementById('onglet-actif').value = ongletValue;
|
document.getElementById('onglet-actif').value = ongletValue;
|
||||||
ongletPrint();
|
ongletPrint();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue