Update jQuery UI to 1.12.1 (#31887).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19769 e93f8b46-1217-0410-a6f0-8f06a7374b81
@@ -1622,7 +1622,7 @@ module ApplicationHelper
|
|||||||
|
|
||||||
# Returns the javascript tags that are included in the html layout head
|
# Returns the javascript tags that are included in the html layout head
|
||||||
def javascript_heads
|
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.12.1-ujs-5.2.3', 'tribute-3.7.3.min', 'application', 'responsive')
|
||||||
unless User.current.pref.warn_on_leaving_unsaved == '0'
|
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)}'); });")
|
tags << "\n".html_safe + javascript_tag("$(window).on('load', function(){ warnLeavingUnsaved('#{escape_javascript l(:text_warn_on_leaving_unsaved)}'); });")
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<meta name="keywords" content="issue,bug,tracker" />
|
<meta name="keywords" content="issue,bug,tracker" />
|
||||||
<%= csrf_meta_tag %>
|
<%= csrf_meta_tag %>
|
||||||
<%= favicon %>
|
<%= favicon %>
|
||||||
<%= stylesheet_link_tag 'jquery/jquery-ui-1.11.0', 'tribute-3.7.3', 'application', 'responsive', :media => 'all' %>
|
<%= stylesheet_link_tag 'jquery/jquery-ui-1.12.1', 'tribute-3.7.3', 'application', 'responsive', :media => 'all' %>
|
||||||
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
||||||
<%= javascript_heads %>
|
<%= javascript_heads %>
|
||||||
<%= heads_for_theme %>
|
<%= heads_for_theme %>
|
||||||
|
|||||||
24
public/javascripts/jquery-2.2.4-ui-1.12.1-ujs-5.2.3.js
Normal file
@@ -1450,7 +1450,6 @@ td.gantt_selected_column .gantt_hdr,.gantt_selected_column_container {
|
|||||||
.ui-tooltip {
|
.ui-tooltip {
|
||||||
background: #000;
|
background: #000;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-size: 0.9em;
|
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 0;
|
border: 0;
|
||||||
box-shadow: none
|
box-shadow: none
|
||||||
@@ -1633,10 +1632,21 @@ color: #555; text-shadow: 1px 1px 0 #fff;
|
|||||||
img.filecontent.image {background-image: url(../images/transparent.png);}
|
img.filecontent.image {background-image: url(../images/transparent.png);}
|
||||||
|
|
||||||
/* Custom JQuery styles */
|
/* Custom JQuery styles */
|
||||||
.ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}
|
.ui-autocomplete {
|
||||||
.ui-menu.ui-widget-content {background:#fff;}
|
border-radius: 2px;
|
||||||
.ui-menu .ui-menu-item:hover {font-weight:normal; background:#759FCF; color:#fff !important; border:1px solid #759FCF;}
|
border: 1px solid #ccc;
|
||||||
.ui-menu .ui-menu-item.ui-state-focus {font-weight:normal; color:#555; border-color:#759FCF;}
|
}
|
||||||
|
.ui-autocomplete .ui-menu-item > div {
|
||||||
|
padding: 4px 8px;
|
||||||
|
}
|
||||||
|
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
|
||||||
|
border-color: #759FCF;
|
||||||
|
background: #759FCF;
|
||||||
|
}
|
||||||
|
.ui-widget-overlay {
|
||||||
|
background: #000;
|
||||||
|
opacity: 70%;
|
||||||
|
}
|
||||||
|
|
||||||
/* Custom tribute styles */
|
/* Custom tribute styles */
|
||||||
.tribute-container ul {
|
.tribute-container ul {
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 418 B |
|
Before Width: | Height: | Size: 312 B |
|
Before Width: | Height: | Size: 205 B |
|
Before Width: | Height: | Size: 345 B |
|
Before Width: | Height: | Size: 262 B |
|
Before Width: | Height: | Size: 207 B |
|
Before Width: | Height: | Size: 5.6 KiB |
|
Before Width: | Height: | Size: 278 B |
|
Before Width: | Height: | Size: 343 B |
|
Before Width: | Height: | Size: 6.8 KiB |
BIN
public/stylesheets/jquery/images/ui-icons_444444_256x240.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
public/stylesheets/jquery/images/ui-icons_555555_256x240.png
Normal file
|
After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
BIN
public/stylesheets/jquery/images/ui-icons_777620_256x240.png
Normal file
|
After Width: | Height: | Size: 4.6 KiB |
BIN
public/stylesheets/jquery/images/ui-icons_777777_256x240.png
Normal file
|
After Width: | Height: | Size: 6.8 KiB |
BIN
public/stylesheets/jquery/images/ui-icons_cc0000_256x240.png
Normal file
|
After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |