Commit c4b25586a0101fad1178ff00c32de35ba2ffe785
1 parent
e02c81e2
Exists in
stable-1.5
and in
1 other branch
comment-edit: fix modal call
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/helpers/comment_helper.rb
... | ... | @@ -66,7 +66,7 @@ module CommentHelper |
66 | 66 | |
67 | 67 | def link_for_edit(comment) |
68 | 68 | if comment.can_be_updated_by?(user) |
69 | - {:link => expirable_comment_link(comment, :edit, _('Edit'), url_for(:profile => profile.identifier, :controller => :comment, :action => :edit, :id => comment.id),:class => 'modal')} | |
69 | + {:link => expirable_comment_link(comment, :edit, _('Edit'), url_for(:profile => profile.identifier, :controller => :comment, :action => :edit, :id => comment.id), :modal => true)} | |
70 | 70 | end |
71 | 71 | end |
72 | 72 | ... | ... |