cacher les colonnes visite et manager du tableau des users non affectés au groupe (ref #202)
This commit is contained in:
parent
f21fb579c4
commit
16d24deab1
|
@ -30,9 +30,9 @@
|
|||
<th width="70px" class="no-sort">Avatar</th>
|
||||
<th width="200px">Login</th>
|
||||
<th>Email</th>
|
||||
<th class="no-sort">Visite</th>
|
||||
<th class="no-sort no-visible">Visite</th>
|
||||
{% if group.fgcanshare %}
|
||||
<th class="no-sort">Manager</th>
|
||||
<th class="no-sort no-visible">Manager</th>
|
||||
{% endif %}
|
||||
</tr>
|
||||
</thead>
|
||||
|
@ -115,10 +115,11 @@
|
|||
success: function(data, dataType)
|
||||
{
|
||||
var row=$("#dataTablesnotin").DataTable().row("#user"+userid);
|
||||
var rowNode = row.node();
|
||||
row.remove().draw();
|
||||
data=row.data();
|
||||
var rowNode = row.node();
|
||||
|
||||
$("#dataTablesin").DataTable().row.add(rowNode).draw();
|
||||
$("#dataTablesin").DataTable().row.add(data).draw();
|
||||
row.remove().draw();
|
||||
},
|
||||
|
||||
error: function(XMLHttpRequest, textStatus, errorThrown)
|
||||
|
|
Loading…
Reference in New Issue