Highlight current locale when changing locale from select
When the locale changes the corresponding tab is highlighted automatically. When a language is added to the milestone, the tab is highlighted automatically.
This commit is contained in:
@@ -4,6 +4,7 @@ App.Globalize =
|
||||
$(".js-globalize-locale-link").each ->
|
||||
if $(this).data("locale") == locale
|
||||
$(this).show()
|
||||
App.Globalize.highlight_locale($(this))
|
||||
$(".js-globalize-locale option:selected").removeAttr("selected");
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user