If on other page doesn't call javascript

This commit is contained in:
Michael RICOIS 2013-06-06 05:52:10 +00:00
parent 3c353f418a
commit 55054b2df6

View File

@ -223,6 +223,7 @@ Néant
<?=$this->render('cgu.phtml', $this->cgu)?>
<?php }?>
<?php if (empty($this->AutrePage)) {?>
<script>
$.get('/juridique/annoncenum/siren/<?=$this->siren?>', function(data){
for (var type in data) {
@ -230,6 +231,7 @@ $.get('/juridique/annoncenum/siren/<?=$this->siren?>', function(data){
}
}, 'json');
</script>
<?php }?>
<?php }?>