<%= format_time reply.created_on %> - <%= toggle_link l(:label_projects_feedback_respond), id, {:focus => 'project_respond'} %> + + <%#= toggle_link l(:label_projects_feedback_respond), id, {:focus => 'project_respond'} %> + <%= link_to l(:label_projects_feedback_respond),'', + {:focus => 'project_respond', :onclick => "toggleAndSettingWordsVal($('##{id}'), $('##{id} textarea'), '#{l(:label_reply_plural)} #{reply.user.show_name}: '); return false;"} + %> +
- - + diff --git a/app/views/words/_message.html.erb b/app/views/words/_message.html.erb index c3e97b360..2f8d5ecc2 100644 --- a/app/views/words/_message.html.erb +++ b/app/views/words/_message.html.erb @@ -55,7 +55,11 @@ ul.message-for-user li { <%= l :label_comment_time %>: <%= format_time journal.created_on %> <% ids = 'project_respond_form_'+ journal.id.to_s%> - <%= toggle_link l(:label_projects_feedback_respond), ids, {:focus => 'project_respond'} %> + <%#= toggle_link l(:label_projects_feedback_respond), ids, {:focus => 'project_respond'} %> + + <%= link_to l(:label_projects_feedback_respond),'', + {:focus => 'project_respond', :onclick => "toggleAndSettingWordsVal($('##{ids}'), $('##{ids} textarea'), '#{l(:label_reply_plural)} #{journal.user.show_name}:'); return false;"} + %>