Paramètres des ciblages
This commit is contained in:
parent
8990c52d81
commit
5e415fcdc6
@ -31,7 +31,8 @@ $Years = date('Y') - $YearBegin;
|
||||
<th><b>Actions</b></th>
|
||||
</tr>
|
||||
<?php foreach($this->comptages as $comptage): ?>
|
||||
<tr title="Critères" id="<?=$comptage['idDefinition']?>">
|
||||
<tr class="criteres" title="Critères" data-url="<?=$this->url(array('controller'=>'gestion',
|
||||
'action'=>'ciblagecriteres', 'id'=>$comptage['idDefinition']), 'default', true)?>">
|
||||
<td><?=$comptage['idDefinition']?></td>
|
||||
<td><?=$comptage['dateAjout']?></td>
|
||||
<td><?=$comptage['reference']?></td>
|
||||
@ -46,8 +47,8 @@ $Years = date('Y') - $YearBegin;
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
$('table tr').on('click', function(){
|
||||
var href = '/gestion/ciblagecriteres/id/'+$(this).attr('id');
|
||||
$('table tr.criteres').on('click', function(){
|
||||
var href = $(this).data('url');
|
||||
if (href!='#' || href!='') {
|
||||
var title = $(this).attr('title');
|
||||
var dialogOpts = {
|
||||
|
Loading…
Reference in New Issue
Block a user