]> source.dussan.org Git - redmine.git/commitdiff
Fixes jstoolbar lang files case (#4190).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 11 Nov 2009 10:55:19 +0000 (10:55 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Wed, 11 Nov 2009 10:55:19 +0000 (10:55 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3025 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/wiki_formatting/textile/helper.rb

index 397206b5a3304c70699e18520046335efc7bcab4..77cb90c67666b3bdd04468363da7d2a64ea530fe 100644 (file)
@@ -29,7 +29,7 @@ module Redmine
       
           javascript_include_tag('jstoolbar/jstoolbar') +
             javascript_include_tag('jstoolbar/textile') +
-            javascript_include_tag("jstoolbar/lang/jstoolbar-#{current_language}") +
+            javascript_include_tag("jstoolbar/lang/jstoolbar-#{current_language.to_s.downcase}") +
           javascript_tag("var wikiToolbar = new jsToolBar($('#{field_id}')); wikiToolbar.setHelpLink('#{help_link}'); wikiToolbar.draw();")
         end