gitlab-org--gitlab-foss/app/views/projects/group_links/update.js.haml
Phil Hughes 6865c46c66 Changed how collections are rendered
Used variables in haml for replicated checks
Fixed broken conflict
2016-10-06 15:41:00 +01:00

3 lines
212 B
Text

:plain
var $listItem = $('#{escape_javascript(render('shared/members/group', group_link: @group_link))}');
$("#group_member_#{@group_link.id} .list-item-name").replaceWith($listItem.find('.list-item-name'));