From: Jean-Philippe Lang Date: Wed, 22 Dec 2010 21:37:07 +0000 (+0000) Subject: Support for Javascript in Themes (#2803). X-Git-Tag: 1.1.0~46 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=523febf9c1b31991fed52fe5878bec3153f8aafb;p=redmine.git Support for Javascript in Themes (#2803). If javascripts/theme.js is found in the theme directory, it will be automatically loaded on each page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4558 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/layouts/base.rhtml b/app/views/layouts/base.rhtml index 0393815b0..8cd7a97eb 100644 --- a/app/views/layouts/base.rhtml +++ b/app/views/layouts/base.rhtml @@ -9,6 +9,7 @@ <%= stylesheet_link_tag 'application', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <%= javascript_include_tag :defaults %> +<%= heads_for_theme %> <%= heads_for_wiki_formatter %>