浏览代码

Updates jQuery to 2.2.4 and adds jQuery Migrate library to find APIs and features that have been or will be removed from jQuery core (#31196).

Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@18363 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/4.1.0
Go MAEDA 4 年前
父节点
当前提交
49090c5889
共有 2 个文件被更改,包括 8 次插入5 次删除
  1. 1
    1
      app/helpers/application_helper.rb
  2. 7
    4
      public/javascripts/jquery-2.2.4-ui-1.11.0-ujs-5.2.3.js

+ 1
- 1
app/helpers/application_helper.rb 查看文件

@@ -1569,7 +1569,7 @@ module ApplicationHelper

# Returns the javascript tags that are included in the html layout head
def javascript_heads
tags = javascript_include_tag('jquery-1.11.1-ui-1.11.0-ujs-5.2.3', 'application', 'responsive')
tags = javascript_include_tag('jquery-2.2.4-ui-1.11.0-ujs-5.2.3', 'application', 'responsive')
unless User.current.pref.warn_on_leaving_unsaved == '0'
tags << "\n".html_safe + javascript_tag("$(window).load(function(){ warnLeavingUnsaved('#{escape_javascript l(:text_warn_on_leaving_unsaved)}'); });")
end

public/javascripts/jquery-2.2.4-ui-1.11.0-ujs-5.2.3.js
文件差异内容过多而无法显示
查看文件


正在加载...
取消
保存