Correction affichage anciensiege

This commit is contained in:
Michael RICOIS 2011-09-08 10:27:00 +00:00
parent 056d597e51
commit 44ef56147e
2 changed files with 2 additions and 2 deletions

View File

@ -598,7 +598,7 @@ return true;});$('input.button').button();$('input.button:reset').click(function
var formAction=$('#frmSurv').attr('action');var href=window.location.href;var serData=$('#frmSurv').serialize();$('#frmSurv').replaceWith('<div id="frmSurv">Mise sous surveillance en cours...</div>');$.post(formAction,serData,function(data){if(data==''){$('#frmSurv').html("L'entité a été placé sous surveillance.\n");window.location.href=href;}else{$('#frmSurv').html(data);}});} var formAction=$('#frmSurv').attr('action');var href=window.location.href;var serData=$('#frmSurv').serialize();$('#frmSurv').replaceWith('<div id="frmSurv">Mise sous surveillance en cours...</div>');$.post(formAction,serData,function(data){if(data==''){$('#frmSurv').html("L'entité a été placé sous surveillance.\n");window.location.href=href;}else{$('#frmSurv').html(data);}});}
$('a[idobjet]').click(function(){id=$(this).attr('idobjet');$('#document'+id).html('Construction du document en cours...');$.post('./index.php',{page:'getmarques',idObject:id},function(data,status){$('#document'+id).html(data);});});if($('a.datemaj').length){$('a.datemaj').qtip({content:$('a.datemaj > span').html(),style:{width:170,classes:"ui-tooltip-cream"},position:{at:"bottom center",my:"top center"}});} $('a[idobjet]').click(function(){id=$(this).attr('idobjet');$('#document'+id).html('Construction du document en cours...');$.post('./index.php',{page:'getmarques',idObject:id},function(data,status){$('#document'+id).html(data);});});if($('a.datemaj').length){$('a.datemaj').qtip({content:$('a.datemaj > span').html(),style:{width:170,classes:"ui-tooltip-cream"},position:{at:"bottom center",my:"top center"}});}
$('u[tooltip]').each(function(){$(this).qtip({content:$(this).attr('tooltip'),style:{classes:"ui-tooltip-dark"},position:{at:"top center",my:"bottom center"}});});if($('div.domiciliation').length){$('div.domiciliation').qtip({show:{event:"click"},hide:{event:"unfocus"},content:$('div.domiciliation span').html(),style:{width:200,classes:"ui-tooltip-cream"},position:{at:"bottom center",my:"top center"}});} $('u[tooltip]').each(function(){$(this).qtip({content:$(this).attr('tooltip'),style:{classes:"ui-tooltip-dark"},position:{at:"top center",my:"bottom center"}});});if($('div.domiciliation').length){$('div.domiciliation').qtip({show:{event:"click"},hide:{event:"unfocus"},content:$('div.domiciliation span').html(),style:{width:200,classes:"ui-tooltip-cream"},position:{at:"bottom center",my:"top center"}});}
if($('a.AncienSiege').length){$('a.AncienSiege').qtip({show:{event:"click"},hide:{event:"unfocus"},content:$(this).attr('title'),style:{width:350,classes:"ui-tooltip-cream"},position:{at:"bottom center",my:"top center"}});$('a.AncienSiege').attr('title',"Cliquez pour consulter les informations d'activité.");} if($('a.AncienSiege').length){$('a.AncienSiege').qtip({show:{event:"click"},hide:{event:"unfocus"},content:$('a.AncienSiege').attr('title'),style:{width:350,classes:"ui-tooltip-cream"},position:{at:"bottom center",my:"top center"}});$('a.AncienSiege').attr('title',"Cliquez pour consulter les informations d'activité.");}
$('#goidentite').click(function(){goidentite();});$(document).keydown(function(e){if(e.keyCode==13&&e.ctrlKey){goidentite();return false;}});});function checkEmail(eMail){var isMail=eMail.length;var verif=/^[a-z0-9_.-]+@[a-z0-9_.-]+[.][a-z]{2,4}$/i;if(!isMail||verif.exec(eMail)==null){return false;}else{return true;}} $('#goidentite').click(function(){goidentite();});$(document).keydown(function(e){if(e.keyCode==13&&e.ctrlKey){goidentite();return false;}});});function checkEmail(eMail){var isMail=eMail.length;var verif=/^[a-z0-9_.-]+@[a-z0-9_.-]+[.][a-z]{2,4}$/i;if(!isMail||verif.exec(eMail)==null){return false;}else{return true;}}
function EstSirenValide(siren){var estValide;if((siren.length!=9)||(isNaN(siren))) function EstSirenValide(siren){var estValide;if((siren.length!=9)||(isNaN(siren)))
estValide=false;else{var somme=0;var tmp;for(var cpt=0;cpt<siren.length;cpt++){if((cpt%2)==1){tmp=siren.charAt(cpt)*2;if(tmp>9) estValide=false;else{var somme=0;var tmp;for(var cpt=0;cpt<siren.length;cpt++){if((cpt%2)==1){tmp=siren.charAt(cpt)*2;if(tmp>9)

View File

@ -151,7 +151,7 @@ $(document).ready(function(){
hide: { hide: {
event: "unfocus" event: "unfocus"
}, },
content: $(this).attr('title'), content: $('a.AncienSiege').attr('title'),
style: { style: {
width: 350, width: 350,
classes: "ui-tooltip-cream" classes: "ui-tooltip-cream"