Skip to content

Commit 45b53c1

Browse files
committed
Merge pull request #92 from rosenfeld/jquery-1.11.3
Release new version for jQuery UI 1.11.3
2 parents 037b408 + 0c312b4 commit 45b53c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+221
-193
lines changed

VERSIONS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
| Gem | jQuery UI |
44
|--------|-----------|
5+
| 5.0.4 | 1.11.3 |
56
| 5.0.3 | 1.11.2 |
67
| 5.0.2 | 1.11.2 |
78
| 5.0.1 | 1.11.1 |

app/assets/javascripts/jquery-ui/accordion.js

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
//= require jquery-ui/widget
33

44
/*!
5-
* jQuery UI Accordion 1.11.2
5+
* jQuery UI Accordion 1.11.3
66
* http://jqueryui.com
77
*
8-
* Copyright 2014 jQuery Foundation and other contributors
8+
* Copyright jQuery Foundation and other contributors
99
* Released under the MIT license.
1010
* http://jquery.org/license
1111
*
@@ -28,7 +28,7 @@
2828
}(function( $ ) {
2929

3030
return $.widget( "ui.accordion", {
31-
version: "1.11.2",
31+
version: "1.11.3",
3232
options: {
3333
active: 0,
3434
animate: {},
@@ -486,7 +486,10 @@ return $.widget( "ui.accordion", {
486486
toHide.attr({
487487
"aria-hidden": "true"
488488
});
489-
toHide.prev().attr( "aria-selected", "false" );
489+
toHide.prev().attr({
490+
"aria-selected": "false",
491+
"aria-expanded": "false"
492+
});
490493
// if we're switching panels, remove the old header from the tab order
491494
// if we're opening from collapsed state, remove the previous header from the tab order
492495
// if we're collapsing, then keep the collapsing header in the tab order
@@ -497,7 +500,7 @@ return $.widget( "ui.accordion", {
497500
});
498501
} else if ( toShow.length ) {
499502
this.headers.filter(function() {
500-
return $( this ).attr( "tabIndex" ) === 0;
503+
return parseInt( $( this ).attr( "tabIndex" ), 10 ) === 0;
501504
})
502505
.attr( "tabIndex", -1 );
503506
}
@@ -507,8 +510,8 @@ return $.widget( "ui.accordion", {
507510
.prev()
508511
.attr({
509512
"aria-selected": "true",
510-
tabIndex: 0,
511-
"aria-expanded": "true"
513+
"aria-expanded": "true",
514+
tabIndex: 0
512515
});
513516
},
514517

app/assets/javascripts/jquery-ui/autocomplete.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
//= require jquery-ui/position
55

66
/*!
7-
* jQuery UI Autocomplete 1.11.2
7+
* jQuery UI Autocomplete 1.11.3
88
* http://jqueryui.com
99
*
10-
* Copyright 2014 jQuery Foundation and other contributors
10+
* Copyright jQuery Foundation and other contributors
1111
* Released under the MIT license.
1212
* http://jquery.org/license
1313
*
@@ -32,7 +32,7 @@
3232
}(function( $ ) {
3333

3434
$.widget( "ui.autocomplete", {
35-
version: "1.11.2",
35+
version: "1.11.3",
3636
defaultElement: "<input>",
3737
options: {
3838
appendTo: null,

app/assets/javascripts/jquery-ui/button.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
//= require jquery-ui/widget
33

44
/*!
5-
* jQuery UI Button 1.11.2
5+
* jQuery UI Button 1.11.3
66
* http://jqueryui.com
77
*
8-
* Copyright 2014 jQuery Foundation and other contributors
8+
* Copyright jQuery Foundation and other contributors
99
* Released under the MIT license.
1010
* http://jquery.org/license
1111
*
@@ -55,7 +55,7 @@ var lastActive,
5555
};
5656

5757
$.widget( "ui.button", {
58-
version: "1.11.2",
58+
version: "1.11.3",
5959
defaultElement: "<button>",
6060
options: {
6161
disabled: null,
@@ -351,7 +351,7 @@ $.widget( "ui.button", {
351351
});
352352

353353
$.widget( "ui.buttonset", {
354-
version: "1.11.2",
354+
version: "1.11.3",
355355
options: {
356356
items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"
357357
},

app/assets/javascripts/jquery-ui/core.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*!
2-
* jQuery UI Core 1.11.2
2+
* jQuery UI Core 1.11.3
33
* http://jqueryui.com
44
*
5-
* Copyright 2014 jQuery Foundation and other contributors
5+
* Copyright jQuery Foundation and other contributors
66
* Released under the MIT license.
77
* http://jquery.org/license
88
*
@@ -24,7 +24,7 @@
2424
$.ui = $.ui || {};
2525

2626
$.extend( $.ui, {
27-
version: "1.11.2",
27+
version: "1.11.3",
2828

2929
keyCode: {
3030
BACKSPACE: 8,
@@ -97,7 +97,7 @@ function focusable( element, isTabIndexNotNaN ) {
9797
img = $( "img[usemap='#" + mapName + "']" )[ 0 ];
9898
return !!img && visible( img );
9999
}
100-
return ( /input|select|textarea|button|object/.test( nodeName ) ?
100+
return ( /^(input|select|textarea|button|object)$/.test( nodeName ) ?
101101
!element.disabled :
102102
"a" === nodeName ?
103103
element.href || isTabIndexNotNaN :

app/assets/javascripts/jquery-ui/datepicker-ar.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* Arabic Translation for jQuery UI date picker plugin. */
2-
/* Khaled Alhourani -- me@khaledalhourani.com */
3-
/* NOTE: monthNames are the original months names and they are the Arabic names, not the new months name فبراير - يناير and there isn't any Arabic roots for these months */
2+
/* Used in most of Arab countries, primarily in Bahrain, Kuwait, Oman, Qatar, Saudi Arabia and the United Arab Emirates, Egypt, Sudan and Yemen. */
3+
/* Written by Mohammed Alshehri -- m@dralshehri.com */
4+
45
(function( factory ) {
56
if ( typeof define === "function" && define.amd ) {
67

@@ -18,15 +19,15 @@ datepicker.regional['ar'] = {
1819
prevText: '&#x3C;السابق',
1920
nextText: 'التالي&#x3E;',
2021
currentText: 'اليوم',
21-
monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران',
22-
'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
22+
monthNames: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو',
23+
'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
2324
monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
2425
dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
25-
dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
26+
dayNamesShort: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
2627
dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
2728
weekHeader: 'أسبوع',
2829
dateFormat: 'dd/mm/yy',
29-
firstDay: 6,
30+
firstDay: 0,
3031
isRTL: true,
3132
showMonthAfterYear: false,
3233
yearSuffix: ''};

app/assets/javascripts/jquery-ui/datepicker.js

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//= require jquery-ui/core
22

33
/*!
4-
* jQuery UI Datepicker 1.11.2
4+
* jQuery UI Datepicker 1.11.3
55
* http://jqueryui.com
66
*
7-
* Copyright 2014 jQuery Foundation and other contributors
7+
* Copyright jQuery Foundation and other contributors
88
* Released under the MIT license.
99
* http://jquery.org/license
1010
*
@@ -25,7 +25,7 @@
2525
}
2626
}(function( $ ) {
2727

28-
$.extend($.ui, { datepicker: { version: "1.11.2" } });
28+
$.extend($.ui, { datepicker: { version: "1.11.3" } });
2929

3030
var datepicker_instActive;
3131

@@ -391,6 +391,10 @@ $.extend(Datepicker.prototype, {
391391
} else if (nodeName === "div" || nodeName === "span") {
392392
$target.removeClass(this.markerClassName).empty();
393393
}
394+
395+
if ( datepicker_instActive === inst ) {
396+
datepicker_instActive = null;
397+
}
394398
},
395399

396400
/* Enable the date picker to a jQuery selection.
@@ -2075,7 +2079,7 @@ $.fn.datepicker = function(options){
20752079
$.datepicker = new Datepicker(); // singleton instance
20762080
$.datepicker.initialized = false;
20772081
$.datepicker.uuid = new Date().getTime();
2078-
$.datepicker.version = "1.11.2";
2082+
$.datepicker.version = "1.11.3";
20792083

20802084
return $.datepicker;
20812085

app/assets/javascripts/jquery-ui/dialog.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
//= require jquery-ui/resizable
77

88
/*!
9-
* jQuery UI Dialog 1.11.2
9+
* jQuery UI Dialog 1.11.3
1010
* http://jqueryui.com
1111
*
12-
* Copyright 2014 jQuery Foundation and other contributors
12+
* Copyright jQuery Foundation and other contributors
1313
* Released under the MIT license.
1414
* http://jquery.org/license
1515
*
@@ -37,7 +37,7 @@
3737
}(function( $ ) {
3838

3939
return $.widget( "ui.dialog", {
40-
version: "1.11.2",
40+
version: "1.11.3",
4141
options: {
4242
appendTo: "body",
4343
autoOpen: true,

app/assets/javascripts/jquery-ui/draggable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
//= require jquery-ui/mouse
44

55
/*!
6-
* jQuery UI Draggable 1.11.2
6+
* jQuery UI Draggable 1.11.3
77
* http://jqueryui.com
88
*
9-
* Copyright 2014 jQuery Foundation and other contributors
9+
* Copyright jQuery Foundation and other contributors
1010
* Released under the MIT license.
1111
* http://jquery.org/license
1212
*
@@ -30,7 +30,7 @@
3030
}(function( $ ) {
3131

3232
$.widget("ui.draggable", $.ui.mouse, {
33-
version: "1.11.2",
33+
version: "1.11.3",
3434
widgetEventPrefix: "drag",
3535
options: {
3636
addClasses: true,

app/assets/javascripts/jquery-ui/droppable.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
//= require jquery-ui/draggable
55

66
/*!
7-
* jQuery UI Droppable 1.11.2
7+
* jQuery UI Droppable 1.11.3
88
* http://jqueryui.com
99
*
10-
* Copyright 2014 jQuery Foundation and other contributors
10+
* Copyright jQuery Foundation and other contributors
1111
* Released under the MIT license.
1212
* http://jquery.org/license
1313
*
@@ -32,7 +32,7 @@
3232
}(function( $ ) {
3333

3434
$.widget( "ui.droppable", {
35-
version: "1.11.2",
35+
version: "1.11.3",
3636
widgetEventPrefix: "drop",
3737
options: {
3838
accept: "*",

0 commit comments

Comments
 (0)