gitlab-org--gitlab-foss/app/views/projects/project_members/update.js.haml

5 lines
286 B
Text
Raw Normal View History

: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)}"));