diff options
Diffstat (limited to 'app/views/projects/settings/_members.html.erb')
-rw-r--r-- | app/views/projects/settings/_members.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/settings/_members.html.erb b/app/views/projects/settings/_members.html.erb index 6bb07c69a..8ce9cf3de 100644 --- a/app/views/projects/settings/_members.html.erb +++ b/app/views/projects/settings/_members.html.erb @@ -41,7 +41,7 @@ l(:button_delete), { :url => membership_path(member), :method => :delete, - :confirm => (!User.current.admin? && member.include?(User.current) ? l(:text_own_membership_delete_confirmation) : nil) }, + :data => {:confirm => (!User.current.admin? && member.include?(User.current) ? l(:text_own_membership_delete_confirmation) : nil)} }, :title => l(:button_delete), :class => 'icon icon-del' ) if member.deletable? %> |