diff --git a/app/views/result_comments/_index.html.erb b/app/views/result_comments/_index.html.erb index 6e9ec19f8..c10e46e5d 100644 --- a/app/views/result_comments/_index.html.erb +++ b/app/views/result_comments/_index.html.erb @@ -19,7 +19,7 @@

  • <%= bootstrap_form_for :comment, url: { format: :json }, method: :post, remote: true do |f| %> - <%= f.text_field :message, hide_label: true, placeholder: t("general.comment_placeholder"), append: f.submit("+"), help: '.' %> + <%= f.text_field :message, hide_label: true, placeholder: t("general.comment_placeholder"), append: f.submit("+", onclick: "processResult(event, ResultTypeEnum.COMMENT, false);"), help: '.' %> <% end %>