summaryrefslogtreecommitdiff
path: root/app/views/groups/group_members
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-09-01 16:22:53 +0100
committerPhil Hughes <me@iamphill.com>2016-09-13 08:44:59 +0100
commit843dd24bdf063bb199c841cd6a08643344ae7598 (patch)
tree905e46dc3d185521a5239f5452c867a1ca1cf578 /app/views/groups/group_members
parente33cda96cb20f47fdde4314f6bb00e43bbf5aeb4 (diff)
downloadgitlab-ce-843dd24bdf063bb199c841cd6a08643344ae7598.tar.gz
Mobile improvements
Added group name to members row Fixed saving group member
Diffstat (limited to 'app/views/groups/group_members')
-rw-r--r--app/views/groups/group_members/update.js.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/group_members/update.js.haml b/app/views/groups/group_members/update.js.haml
index 3be7ed8432c..de8f53b6b52 100644
--- a/app/views/groups/group_members/update.js.haml
+++ b/app/views/groups/group_members/update.js.haml
@@ -1,3 +1,3 @@
:plain
- $("##{dom_id(@group_member)}").replaceWith('#{escape_javascript(render('shared/members/member', member: @group_member))}');
- new gl.MemberExpirationDate();
+ var $listItem = $('#{escape_javascript(render('shared/members/member', member: @group_member))}');
+ $("##{dom_id(@group_member)} .list-item-name").replaceWith($listItem.find('.list-item-name'));