diff options
author | Go MAEDA <maeda@farend.jp> | 2020-05-18 13:50:31 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2020-05-18 13:50:31 +0000 |
commit | 006c5dfce874a623c1132af5052281667cd2e73b (patch) | |
tree | 94f192b185b740f977dd060c8c6faa3130c85b27 /app | |
parent | 0b24a0bf9f3adf36772462a733bdd8aea9a5d6ce (diff) | |
download | redmine-006c5dfce874a623c1132af5052281667cd2e73b.tar.gz redmine-006c5dfce874a623c1132af5052281667cd2e73b.zip |
Update jQuery UI to 1.12.1 (#31887).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@19783 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/helpers/application_helper.rb | 2 | ||||
-rw-r--r-- | app/views/layouts/base.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index a3e838b61..d36481459 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1622,7 +1622,7 @@ module ApplicationHelper # Returns the javascript tags that are included in the html layout head def javascript_heads - tags = javascript_include_tag('jquery-2.2.4-ui-1.11.0-ujs-5.2.3', 'tribute-3.7.3.min', 'application', 'responsive') + tags = javascript_include_tag('jquery-2.2.4-ui-1.12.1-ujs-5.2.3', 'tribute-3.7.3.min', 'application', 'responsive') unless User.current.pref.warn_on_leaving_unsaved == '0' tags << "\n".html_safe + javascript_tag("$(window).on('load', function(){ warnLeavingUnsaved('#{escape_javascript l(:text_warn_on_leaving_unsaved)}'); });") end diff --git a/app/views/layouts/base.html.erb b/app/views/layouts/base.html.erb index 76e23cf7d..7740a778e 100644 --- a/app/views/layouts/base.html.erb +++ b/app/views/layouts/base.html.erb @@ -9,7 +9,7 @@ <meta name="keywords" content="issue,bug,tracker" /> <%= csrf_meta_tag %> <%= favicon %> -<%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'tribute-3.7.3', 'application', 'responsive', :media => 'all' %> +<%= stylesheet_link_tag 'jquery/jquery-ui-1.12.1', 'tribute-3.7.3', 'application', 'responsive', :media => 'all' %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <%= javascript_heads %> <%= heads_for_theme %> |