From: Jean-Philippe Lang Date: Wed, 11 Nov 2009 10:55:19 +0000 (+0000) Subject: Fixes jstoolbar lang files case (#4190). X-Git-Tag: 0.9.0~225 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8b8cea2888b022ec08ac81160133c642dda4e43;p=redmine.git Fixes jstoolbar lang files case (#4190). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3025 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- 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