Correction javascript
This commit is contained in:
commit
6aacad668b
@ -7,4 +7,4 @@ var pct=0;var prec=0;var checkInterval=10;var url='';function checkKbis(start)
|
||||
function updateKbis(){$('#progressbar').reportprogress(++pct);if(pct==100){updateKbisInfo(message);pct=0;}
|
||||
if(Math.floor(pct/checkInterval)!=prec||pct==1){prec=Math.floor(pct/checkInterval);checkKbis(false);}}
|
||||
function updateKbisInfo(html){$('#result').html(html);clearInterval(holdTheInterval);}
|
||||
$(document).ready(function(){$('input[type=checkbox][name=sendmail]').live('click',function(){if($(this).prop('checked')==true){$('#formMail').css('display','block');}else{$('#formMail').css('display','none');}});$('form[name=mailkbis]').submit(function(){var eMail=$('input[name=mail]').val();if(!checkEmail(eMail)){alert('Veuillez saisir une adresse email.');return false;}else{return true;}});});
|
||||
$(document).ready(function(){$('input[type=checkbox][name=sendmail]').live('click',function(){if($(this).prop('checked')==true){$('#formMail').css('display','block');}else{$('#formMail').css('display','none');}});});
|
@ -46,11 +46,11 @@ $(document).ready(function(){
|
||||
}
|
||||
});
|
||||
|
||||
$('form[name=mailkbis]').submit(function(){
|
||||
/*$('form[name=mailkbis]').submit(function(){
|
||||
var eMail = $('input[name=mail]').val();
|
||||
if(!checkEmail(eMail)){
|
||||
alert('Veuillez saisir une adresse email.');
|
||||
return false;
|
||||
} else { return true; }
|
||||
});
|
||||
});*/
|
||||
});
|
Loading…
Reference in New Issue
Block a user