Correction url

This commit is contained in:
Michael RICOIS 2009-12-11 15:57:29 +00:00
parent 8402f35b46
commit 8b94a35138

View File

@ -152,7 +152,7 @@ $(document).ready(function()
$('input[type=radio][name=method]').each(function(){ $('input[type=radio][name=method]').each(function(){
if($(this).val()!=value) { $('#kbis'+$(this).val()).css('display', 'none'); } if($(this).val()!=value) { $('#kbis'+$(this).val()).css('display', 'none'); }
}); });
if(value=='T'){ $(location).attr('href','./page=kbis&siret=<?=$siret?>'); } if(value=='T'){ $(location).attr('href','./?page=kbis&siret=<?=$siret?>'); }
else if(value=='M' || value=='C') { else if(value=='M' || value=='C') {
if($('#kbis'+value).css('display')=='none') $('#kbis'+value).css('display', 'inline'); if($('#kbis'+value).css('display')=='none') $('#kbis'+value).css('display', 'inline');
} }