gitlab-org--gitlab-foss/app/views/projects/project_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
286 B
Text

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