summaryrefslogtreecommitdiffstats
path: root/app/controllers/messages_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-27 21:30:50 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-27 21:30:50 +0000
commit5a51ac7663b3c57337dcf502139975705ab3f00b (patch)
treeae063623ccbe342a1c541fc9b074e84dc7eb5d4e /app/controllers/messages_controller.rb
parentf9bf53262a12f983cc8bdc3e650231ca6448cb81 (diff)
downloadredmine-5a51ac7663b3c57337dcf502139975705ab3f00b.tar.gz
redmine-5a51ac7663b3c57337dcf502139975705ab3f00b.zip
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
Diffstat (limited to 'app/controllers/messages_controller.rb')
-rw-r--r--app/controllers/messages_controller.rb2
1 files changed, 1 insertions, 1 deletions
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{<pre>((.|\s)*?)</pre>}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');"