From 0a8b35718affaf0a985cb484ce270c96f9c3ceff Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 23 Feb 2012 15:17:13 +0000 Subject: [PATCH] Pass the message id when previewing in edit mode (#10275). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8950 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/messages/edit.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/messages/edit.html.erb b/app/views/messages/edit.html.erb index c8ce847dc..054297cee 100644 --- a/app/views/messages/edit.html.erb +++ b/app/views/messages/edit.html.erb @@ -12,7 +12,7 @@ <%= submit_tag l(:button_save) %> <%= link_to_remote l(:label_preview), { :url => { :controller => 'messages', - :action => 'preview', :board_id => @board }, + :action => 'preview', :board_id => @board, :id => @message }, :method => 'post', :update => 'preview', :with => "Form.serialize('message-form')", -- 2.39.5