summaryrefslogtreecommitdiffstats
path: root/lib/redmine/wiki_formatting
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-11 10:55:19 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-11 10:55:19 +0000
commitb8b8cea2888b022ec08ac81160133c642dda4e43 (patch)
tree30938932f2a08fbddb50e78ac707a6858fcee128 /lib/redmine/wiki_formatting
parentc31411ec0029d5b2033d2d91aef18f601a8a7224 (diff)
downloadredmine-b8b8cea2888b022ec08ac81160133c642dda4e43.tar.gz
redmine-b8b8cea2888b022ec08ac81160133c642dda4e43.zip
Fixes jstoolbar lang files case (#4190).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3025 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/redmine/wiki_formatting')
-rw-r--r--lib/redmine/wiki_formatting/textile/helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/wiki_formatting/textile/helper.rb b/lib/redmine/wiki_formatting/textile/helper.rb
index 397206b5a..77cb90c67 100644
--- a/lib/redmine/wiki_formatting/textile/helper.rb
+++ b/lib/redmine/wiki_formatting/textile/helper.rb
@@ -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