##// END OF EJS Templates
Update MessagesController#quote to match the input id changed in r7682 (#9672)....
Jean-Philippe Lang -
r7841:5a51ac7663b3
parent child
Show More
@@ -115,7 +115,7 class MessagesController < ApplicationController
115 content = "#{ll(Setting.default_language, :text_user_wrote, user)}\\n> "
115 content = "#{ll(Setting.default_language, :text_user_wrote, user)}\\n> "
116 content << text.to_s.strip.gsub(%r{<pre>((.|\s)*?)</pre>}m, '[...]').gsub('"', '\"').gsub(/(\r?\n|\r\n?)/, "\\n> ") + "\\n\\n"
116 content << text.to_s.strip.gsub(%r{<pre>((.|\s)*?)</pre>}m, '[...]').gsub('"', '\"').gsub(/(\r?\n|\r\n?)/, "\\n> ") + "\\n\\n"
117 render(:update) { |page|
117 render(:update) { |page|
118 page << "$('reply_subject').value = \"#{subject}\";"
118 page << "$('message_subject').value = \"#{subject}\";"
119 page.<< "$('message_content').value = \"#{content}\";"
119 page.<< "$('message_content').value = \"#{content}\";"
120 page.show 'reply'
120 page.show 'reply'
121 page << "Form.Element.focus('message_content');"
121 page << "Form.Element.focus('message_content');"
General Comments 0
You need to be logged in to leave comments. Login now