mirror of
https://github.com/redmine/redmine.git
synced 2026-07-15 19:32:21 +02:00
Update JavaScript filename for 4.0-stable (#33906).
git-svn-id: http://svn.redmine.org/redmine/branches/4.0-stable@20800 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1489,7 +1489,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-1.11.1-ui-1.11.0-ujs-5.2.4.5', '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
|
||||
|
||||
Reference in New Issue
Block a user