Fix the jquery-ui datepicker i18n files' asset compilation

This commit is contained in:
Jyri-Petteri Paloposki 2021-01-05 19:29:36 +02:00
parent da4f662aae
commit e1be3b8a95
3 changed files with 17 additions and 9 deletions

View file

@ -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)