Commit bc1328da433a262813b94f5eb762f65aac3a2b6a
1 parent
36dfeecb
Exists in
web_steps_improvements
and in
6 other branches
comment-edit: fix modal call
Closes #192
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 | ... | ... |