From bff5794ad3ab600c22cc295416b65e0229e1073a Mon Sep 17 00:00:00 2001 From: vfcosta Date: Mon, 1 Jul 2013 09:52:37 -0300 Subject: [PATCH] fixing comment creation/reply bugs --- app/views/comment/_comment_form.rhtml | 28 ++++++++++++++++++---------- public/javascripts/application.js | 5 +++-- public/javascripts/comment_form.js | 40 +++++++++++++++++++++++++--------------- 3 files changed, 46 insertions(+), 27 deletions(-) diff --git a/app/views/comment/_comment_form.rhtml b/app/views/comment/_comment_form.rhtml index a9413ca..7633bfb 100644 --- a/app/views/comment/_comment_form.rhtml +++ b/app/views/comment/_comment_form.rhtml @@ -3,9 +3,6 @@ <% focus_on = logged_in? ? 'title' : 'name' %> -
- -<%= link_to(_('Post a comment'), '#', :class => 'display-comment-form') if display_link %> <% if !edition_mode && !pass_without_comment_captcha? %>