diff --git a/app/views/words/_new_respond_course.html.erb b/app/views/words/_new_respond_course.html.erb index a939a55d4..5bd2a9f3c 100644 --- a/app/views/words/_new_respond_course.html.erb +++ b/app/views/words/_new_respond_course.html.erb @@ -1,4 +1,4 @@ -<%= form_tag(words_create_reply_path, :remote => true) do %> +<%= form_tag(words_create_reply_path, :remote => true,:id=>"form_#{journal.id}") do %> <%= text_area_tag 'user_notes', "", :class => 'w520 h50 mb5', :style => "resize: none;overflow: hidden;",:rows => 4, :placeholder => l(:label_feedback_respond_content)#, @@ -13,6 +13,20 @@
<%= submit_tag l(:button_feedback_respond), :name => nil , - :class => "reply_btn"%> + :class => "reply_btn" ,:onclick=>"form_sub_#{ journal.id}($(this),event)"%> -<% end %> \ No newline at end of file +<% end %> +