mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
Fix the jquery-ui datepicker i18n files' asset compilation
This commit is contained in:
parent
da4f662aae
commit
e1be3b8a95
3 changed files with 17 additions and 9 deletions
|
|
@ -165,11 +165,11 @@ module ApplicationHelper
|
|||
end
|
||||
|
||||
def javascript_tag_for_i18n_datepicker
|
||||
locale = I18n.locale
|
||||
# locale = I18n.locale
|
||||
# do not include en as locale since this the available by default
|
||||
if locale && locale != :en
|
||||
javascript_include_tag("jquery-ui/datepicker-#{locale}")
|
||||
end
|
||||
# if locale && locale != :en
|
||||
# javascript_include_tag("jquery-ui/i18n/datepicker-#{locale}")
|
||||
# end
|
||||
end
|
||||
|
||||
def done_path(controller_name, type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue