diff options
author | Go MAEDA <maeda@farend.jp> | 2019-04-18 16:04:13 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-04-18 16:04:13 +0000 |
commit | 42532605db5abd5608ce6cff6cc4da91f49a8e64 (patch) | |
tree | 9f2781b1c0368bbf0f4ad018058e2260b5c79010 /app/helpers/application_helper.rb | |
parent | a7ed8bcbedbf49593d7a9135643ea6f712cea2d2 (diff) | |
download | redmine-42532605db5abd5608ce6cff6cc4da91f49a8e64.tar.gz redmine-42532605db5abd5608ce6cff6cc4da91f49a8e64.zip |
Update Rails ujs (#31205).
Patch by Marius BALTEANU.
git-svn-id: http://svn.redmine.org/redmine/trunk@18062 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 1eef95100..3712b8a05 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1518,7 +1518,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-4.3.1', 'application', 'responsive') + tags = javascript_include_tag('jquery-1.11.1-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 |