Issue #0001788: [Dirigeants Opérationnels] l'ouverture du contenu corrigée
This commit is contained in:
parent
4da392a3cf
commit
b3df12ddbe
@ -6,11 +6,11 @@
|
||||
'siret'=>$this->siret,
|
||||
'id'=>$this->id);
|
||||
?>
|
||||
<p><a class="dialog" title="Modifier le dirigeant" href="<?=$this->url($param, null, true)?>">
|
||||
<p><a class="dlg" title="Modifier le dirigeant" href="<?=$this->url($param, null, true)?>">
|
||||
<?=$this->translate("Editer la fiche")?></a></p>
|
||||
|
||||
<?php $param['mode']='del';?>
|
||||
<p><a class="dialog" title="Supprimer le dirigeant" href="<?=$this->url($param, null, true)?>">
|
||||
<p><a class="dlg" title="Supprimer le dirigeant" href="<?=$this->url($param, null, true)?>">
|
||||
<?=$this->translate("Supprimer la fiche")?></a></p>
|
||||
|
||||
<?php $param = array(
|
||||
@ -23,7 +23,7 @@
|
||||
<?=$this->translate("Liste des entreprises")?></a></p>
|
||||
|
||||
<script>
|
||||
$('a.dialog').on('click', function(){
|
||||
$('a.dlg').on('click', function(){
|
||||
$('div.qtip').hide();
|
||||
var href = $(this).attr('href');
|
||||
if (href!='#') {
|
||||
|
@ -34,7 +34,7 @@
|
||||
<h2><?=$this->translate("Liste des dirigeants actifs")?></h2>
|
||||
<div class="paragraph">
|
||||
<?php if ($this->edition) {?>
|
||||
<a class="dialog" title="Ajouter un dirigeant" href="<?=$this->url(array('controller'=>'saisie','action'=>'diropcontrol','mode'=>'add','siret'=>$this->siret,'lienref'=>$this->lienref), null, true)?>">
|
||||
<a class="dialog" title="Ajouter un dirigeant" href="<?=$this->url(array('controller'=>'saisie','action'=>'diropcontrol','mode'=>'add','siret'=>$this->siret), null, true)?>">
|
||||
<img style="vertical-align:middle;" src="/themes/default/images/interfaces/ajouter.png" /><?=$this->translate("Ajouter un dirigeant")?></a>
|
||||
<?php }?>
|
||||
<?php if ( count($this->dirigeants)>0 ) {?>
|
||||
@ -142,7 +142,7 @@
|
||||
$('td.diropfiche').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 2000 },
|
||||
show: { solo: true, delay: 1000 },
|
||||
content: {
|
||||
button: true,
|
||||
title: $(this).text(),
|
||||
@ -152,6 +152,19 @@ $('td.diropfiche').each(function(){
|
||||
});
|
||||
});
|
||||
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 1000 },
|
||||
content: {
|
||||
button: true,
|
||||
title: 'WorlCheck',
|
||||
text: "Chargement...",
|
||||
ajax: { url: $(this).data('url') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
|
||||
$('a.dialog').on('click', function(){
|
||||
var href = $(this).attr('href');
|
||||
if (href!='#') {
|
||||
@ -175,17 +188,4 @@ $('a.dialog').on('click', function(){
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
$('img.wcheck').each(function(){
|
||||
$(this).qtip({
|
||||
hide: { event: 'unfocus' },
|
||||
show: { solo: true, delay: 500 },
|
||||
content: {
|
||||
button: true,
|
||||
title: 'WorlCheck',
|
||||
text: "Chargement...",
|
||||
ajax: { url: $(this).data('url') } },
|
||||
position: { my: 'right center', at: 'left center' }
|
||||
});
|
||||
});
|
||||
</script>
|
@ -92,4 +92,7 @@ $('input[name=email]').on("focusout", function(){
|
||||
$(this).removeClass('err');
|
||||
}
|
||||
});
|
||||
|
||||
$.datepicker.setDefaults( $.datepicker.regional["fr"] );
|
||||
$('input[name=naiss_date]').datepicker({ changeMonth: true, changeYear: true });
|
||||
</script>
|
@ -31,7 +31,7 @@
|
||||
<div class="field"><select name="codFct" style="width:380px;>
|
||||
<option value="0000">-</option>
|
||||
<?php foreach ($this->fonction as $key=>$val) {
|
||||
$selected=(strcmp($key, $this->infos->Code)==0)?"selected":""; ?>
|
||||
$selected=(intval($key)==intval($this->infos->Code))?"selected":""; ?>
|
||||
<option value="<?=$key ?>" <?=$selected?>><?=$val?></option>
|
||||
<?php }?>
|
||||
</select>
|
||||
@ -56,9 +56,6 @@ $('#dialog').dialog({ buttons: [
|
||||
}},
|
||||
{ text: "Annuler", click: function() { $(this).dialog('close'); } }
|
||||
] });
|
||||
|
||||
$.datepicker.setDefaults( $.datepicker.regional["fr"] );
|
||||
$('input[name=naiss_date]').datepicker({ changeMonth: true, changeYear: true });
|
||||
</script>
|
||||
|
||||
<?php if ($this->mode=='add') { ?>
|
||||
|
Loading…
Reference in New Issue
Block a user