@@ -115,7 +115,7 class MessagesController < ApplicationController | |||
|
115 | 115 | content = "#{ll(Setting.default_language, :text_user_wrote, user)}\\n> " |
|
116 | 116 | content << text.to_s.strip.gsub(%r{<pre>((.|\s)*?)</pre>}m, '[...]').gsub('"', '\"').gsub(/(\r?\n|\r\n?)/, "\\n> ") + "\\n\\n" |
|
117 | 117 | render(:update) { |page| |
|
118 |
page << "$(' |
|
|
118 | page << "$('message_subject').value = \"#{subject}\";" | |
|
119 | 119 | page.<< "$('message_content').value = \"#{content}\";" |
|
120 | 120 | page.show 'reply' |
|
121 | 121 | page << "Form.Element.focus('message_content');" |
General Comments 0
You need to be logged in to leave comments.
Login now