gitlab-org--gitlab-foss/app/views/groups/group_members/update.js.haml
Phil Hughes 19fb84e3a8 Updated members dropdowns
This ports some code over from EE to reduce conflicts
2016-12-07 15:27:14 +00:00

4 lines
280 B
Text

:plain
var $listItem = $('#{escape_javascript(render('shared/members/member', member: @group_member))}');
$("##{dom_id(@group_member)} .list-item-name").replaceWith($listItem.find('.list-item-name'));
gl.utils.localTimeAgo($('.js-timeago'), $("##{dom_id(@group_member)}"));