summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-10 20:19:26 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-12-10 20:19:26 +0000
commit42b6f8365ad42613e29d546c1bfe4bc1c682f12c (patch)
treeb7d1ff14aadfb41abf22de4d97e8890d390ecf37
parentef25210aca9278e51f81bd15e85a3143c667ff17 (diff)
downloadredmine-42b6f8365ad42613e29d546c1bfe4bc1c682f12c.tar.gz
redmine-42b6f8365ad42613e29d546c1bfe4bc1c682f12c.zip
Moved javascript include tag to head.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10978 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/attachments/_form.html.erb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/attachments/_form.html.erb b/app/views/attachments/_form.html.erb
index 092f68244..ca7558a70 100644
--- a/app/views/attachments/_form.html.erb
+++ b/app/views/attachments/_form.html.erb
@@ -25,4 +25,6 @@
(<%= l(:label_max_size) %>: <%= number_to_human_size(Setting.attachment_max_size.to_i.kilobytes) %>)
</span>
-<%= javascript_include_tag 'attachments' %>
+<% content_for :header_tags do %>
+ <%= javascript_include_tag 'attachments' %>
+<% end %>