Browse Source

Update jQuery to 3.5.1 without jQuery Migrate (#33383).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@19803 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.2.0
Go MAEDA 4 years ago
parent
commit
4008163a23

+ 1
- 1
app/helpers/application_helper.rb View File

@@ -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.12.1-ujs-5.2.3', 'tribute-5.1.3.min', 'application', 'responsive')
tags = javascript_include_tag('jquery-3.5.1-ui-1.12.1-ujs-5.2.3', 'tribute-5.1.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

public/javascripts/jquery-3.5.1-ui-1.12.1-ujs-5.2.3.js
File diff suppressed because it is too large
View File


Loading…
Cancel
Save