From: Jean-Philippe Lang Date: Sun, 27 Nov 2011 21:30:50 +0000 (+0000) Subject: Update MessagesController#quote to match the input id changed in r7682 (#9672). X-Git-Tag: 1.3.0~51 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=5a51ac7663b3c57337dcf502139975705ab3f00b;p=redmine.git Update MessagesController#quote to match the input id changed in r7682 (#9672). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7961 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/messages_controller.rb b/app/controllers/messages_controller.rb index bcd5056ad..1db3440e8 100644 --- a/app/controllers/messages_controller.rb +++ b/app/controllers/messages_controller.rb @@ -115,7 +115,7 @@ class MessagesController < ApplicationController content = "#{ll(Setting.default_language, :text_user_wrote, user)}\\n> " content << text.to_s.strip.gsub(%r{
((.|\s)*?)
}m, '[...]').gsub('"', '\"').gsub(/(\r?\n|\r\n?)/, "\\n> ") + "\\n\\n" render(:update) { |page| - page << "$('reply_subject').value = \"#{subject}\";" + page << "$('message_subject').value = \"#{subject}\";" page.<< "$('message_content').value = \"#{content}\";" page.show 'reply' page << "Form.Element.focus('message_content');"