Use jquery-ui-rails gem instead of vendored jQuery UI

This commit is contained in:
Dan Rice 2016-01-30 15:45:48 -05:00
parent 3220177dd3
commit 2ea20d1a1e
32 changed files with 24 additions and 160 deletions

View file

@ -169,14 +169,6 @@ module ApplicationHelper
return js.html_safe
end
def javascript_tag_for_i18n_datepicker
locale = I18n.locale
# do not include en as locale since this the available by default
if locale && locale != :en
javascript_include_tag("i18n/jquery.ui.datepicker-#{locale}.js")
end
end
def done_path(controller_name, type)
case controller_name
when "contexts"