Commit 721609a7e01586ea4a8f6de321a6c6a995af1add
Committed by
Antonio Terceiro
1 parent
fa2fa905
Exists in
staging
and in
42 other branches
Ask for confirmation before removing an organization member
(ActionItem1473)
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
app/views/profile_members/_members_list.rhtml
| ... | ... | @@ -16,6 +16,7 @@ |
| 16 | 16 | :loading => '$("members-list").addClassName("loading")', |
| 17 | 17 | :success => "$('tr-#{m.identifier}').show()", |
| 18 | 18 | :complete => '$("members-list").removeClassName("loading")', |
| 19 | + :confirm => _('Are you sure that you want to remove this member?'), | |
| 19 | 20 | :url => {:action => 'unassociate', :id => m}) if m != user %> |
| 20 | 21 | </div> |
| 21 | 22 | </td> | ... | ... |