From 8d80a5566c3305e1df01a6cee7fa123010f98886 Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 15 Mar 2021 14:31:16 +0000 Subject: [PATCH] Update JavaScript filename for 4.1-stable (#33906). git-svn-id: http://svn.redmine.org/redmine/branches/4.1-stable@20795 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/application_helper.rb | 2 +- ....11.0-ujs-5.2.3.js => jquery-2.2.4-ui-1.11.0-ujs-5.2.4.5.js} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename public/javascripts/{jquery-2.2.4-ui-1.11.0-ujs-5.2.3.js => jquery-2.2.4-ui-1.11.0-ujs-5.2.4.5.js} (100%) diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e8284a06e..b5eb707aa 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1596,7 +1596,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.11.0-ujs-5.2.4.5', '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/public/javascripts/jquery-2.2.4-ui-1.11.0-ujs-5.2.3.js b/public/javascripts/jquery-2.2.4-ui-1.11.0-ujs-5.2.4.5.js similarity index 100% rename from public/javascripts/jquery-2.2.4-ui-1.11.0-ujs-5.2.3.js rename to public/javascripts/jquery-2.2.4-ui-1.11.0-ujs-5.2.4.5.js