Commit 99422d53a2dc4c5f26e97ccdc95e0d7f23855d32
Exists in
web_steps_improvements
and in
6 other branches
Merge branch 'comment-edit-modal' into 'master'
comment-edit: fix modal call Closes #192 See merge request !853
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 | ... | ... |