From 16d24deab1709b87f66b4b70169899065895649f Mon Sep 17 00:00:00 2001 From: afornerot Date: Fri, 11 Sep 2020 13:44:55 +0200 Subject: [PATCH] =?UTF-8?q?cacher=20les=20colonnes=20visite=20et=20manager?= =?UTF-8?q?=20du=20tableau=20des=20users=20non=20affect=C3=A9s=20au=20grou?= =?UTF-8?q?pe=20(ref=20#202)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CoreBundle/Resources/views/Group/users.html.twig | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/Group/users.html.twig b/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/Group/users.html.twig index 91710c09..a76e132d 100644 --- a/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/Group/users.html.twig +++ b/src/ninegate-1.0/src/Cadoles/CoreBundle/Resources/views/Group/users.html.twig @@ -30,9 +30,9 @@ Avatar Login Email - Visite + Visite {% if group.fgcanshare %} - Manager + Manager {% endif %} @@ -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)