diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-10-22 17:38:05 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2010-10-22 17:38:05 +0000 |
commit | d9652183f672a4f23fabb0b8921cb85773b25a54 (patch) | |
tree | e449aedbbd852975fcbec2b56312e874e548c075 /app/views | |
parent | 432b00df402c36b4fc2c27f5db1d0f8e23975ba9 (diff) | |
download | redmine-d9652183f672a4f23fabb0b8921cb85773b25a54.tar.gz redmine-d9652183f672a4f23fabb0b8921cb85773b25a54.zip |
Fixed: file upload on wiki page broken by recent refactoring (#6724).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4274 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/wiki/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/wiki/show.rhtml b/app/views/wiki/show.rhtml index 00feab8b9..f8675608e 100644 --- a/app/views/wiki/show.rhtml +++ b/app/views/wiki/show.rhtml @@ -35,7 +35,7 @@ <div id="wiki_add_attachment"> <p><%= link_to l(:label_attachment_new), {}, :onclick => "Element.show('add_attachment_form'); Element.hide(this); Element.scrollTo('add_attachment_form'); return false;", :id => 'attach_files_link' %></p> -<% form_tag({ :controller => 'wiki', :action => 'add_attachment', :page => @page.title }, :multipart => true, :id => "add_attachment_form", :style => "display:none;") do %> +<% form_tag({ :controller => 'wiki', :action => 'add_attachment', :project_id => @project, :page => @page.title }, :multipart => true, :id => "add_attachment_form", :style => "display:none;") do %> <div class="box"> <p><%= render :partial => 'attachments/form' %></p> </div> |