jquery-ui-rails 5.0.3 → 5.0.4

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of jquery-ui-rails might be problematic. Click here for more details.

Files changed (61) hide show
  1. data/VERSIONS.md +1 -0
  2. data/app/assets/javascripts/jquery-ui/accordion.js +10 -7
  3. data/app/assets/javascripts/jquery-ui/autocomplete.js +3 -3
  4. data/app/assets/javascripts/jquery-ui/button.js +4 -4
  5. data/app/assets/javascripts/jquery-ui/core.js +4 -4
  6. data/app/assets/javascripts/jquery-ui/datepicker-ar.js +7 -6
  7. data/app/assets/javascripts/jquery-ui/datepicker.js +8 -4
  8. data/app/assets/javascripts/jquery-ui/dialog.js +3 -3
  9. data/app/assets/javascripts/jquery-ui/draggable.js +3 -3
  10. data/app/assets/javascripts/jquery-ui/droppable.js +3 -3
  11. data/app/assets/javascripts/jquery-ui/effect-blind.js +2 -2
  12. data/app/assets/javascripts/jquery-ui/effect-bounce.js +2 -2
  13. data/app/assets/javascripts/jquery-ui/effect-clip.js +2 -2
  14. data/app/assets/javascripts/jquery-ui/effect-drop.js +2 -2
  15. data/app/assets/javascripts/jquery-ui/effect-explode.js +2 -2
  16. data/app/assets/javascripts/jquery-ui/effect-fade.js +2 -2
  17. data/app/assets/javascripts/jquery-ui/effect-fold.js +2 -2
  18. data/app/assets/javascripts/jquery-ui/effect-highlight.js +2 -2
  19. data/app/assets/javascripts/jquery-ui/effect-puff.js +2 -2
  20. data/app/assets/javascripts/jquery-ui/effect-pulsate.js +2 -2
  21. data/app/assets/javascripts/jquery-ui/effect-scale.js +2 -2
  22. data/app/assets/javascripts/jquery-ui/effect-shake.js +2 -2
  23. data/app/assets/javascripts/jquery-ui/effect-size.js +2 -2
  24. data/app/assets/javascripts/jquery-ui/effect-slide.js +2 -2
  25. data/app/assets/javascripts/jquery-ui/effect-transfer.js +2 -2
  26. data/app/assets/javascripts/jquery-ui/effect.js +3 -3
  27. data/app/assets/javascripts/jquery-ui/menu.js +3 -3
  28. data/app/assets/javascripts/jquery-ui/mouse.js +3 -3
  29. data/app/assets/javascripts/jquery-ui/position.js +4 -4
  30. data/app/assets/javascripts/jquery-ui/progressbar.js +3 -3
  31. data/app/assets/javascripts/jquery-ui/resizable.js +7 -7
  32. data/app/assets/javascripts/jquery-ui/selectable.js +3 -3
  33. data/app/assets/javascripts/jquery-ui/selectmenu.js +6 -7
  34. data/app/assets/javascripts/jquery-ui/slider.js +23 -5
  35. data/app/assets/javascripts/jquery-ui/sortable.js +24 -24
  36. data/app/assets/javascripts/jquery-ui/spinner.js +3 -3
  37. data/app/assets/javascripts/jquery-ui/tabs.js +6 -5
  38. data/app/assets/javascripts/jquery-ui/tooltip.js +3 -3
  39. data/app/assets/javascripts/jquery-ui/widget.js +8 -7
  40. data/app/assets/stylesheets/jquery-ui/accordion.css +2 -2
  41. data/app/assets/stylesheets/jquery-ui/all.css +2 -2
  42. data/app/assets/stylesheets/jquery-ui/autocomplete.css +2 -2
  43. data/app/assets/stylesheets/jquery-ui/base.css +2 -2
  44. data/app/assets/stylesheets/jquery-ui/button.css +2 -2
  45. data/app/assets/stylesheets/jquery-ui/core.css +2 -2
  46. data/app/assets/stylesheets/jquery-ui/datepicker.css +2 -2
  47. data/app/assets/stylesheets/jquery-ui/dialog.css +2 -2
  48. data/app/assets/stylesheets/jquery-ui/draggable.css +2 -2
  49. data/app/assets/stylesheets/jquery-ui/menu.css +2 -2
  50. data/app/assets/stylesheets/jquery-ui/progressbar.css +2 -2
  51. data/app/assets/stylesheets/jquery-ui/resizable.css +2 -2
  52. data/app/assets/stylesheets/jquery-ui/selectable.css +2 -2
  53. data/app/assets/stylesheets/jquery-ui/selectmenu.css +2 -2
  54. data/app/assets/stylesheets/jquery-ui/slider.css +2 -2
  55. data/app/assets/stylesheets/jquery-ui/sortable.css +2 -2
  56. data/app/assets/stylesheets/jquery-ui/spinner.css +2 -2
  57. data/app/assets/stylesheets/jquery-ui/tabs.css +2 -2
  58. data/app/assets/stylesheets/jquery-ui/theme.css.erb +2 -2
  59. data/app/assets/stylesheets/jquery-ui/tooltip.css +2 -2
  60. data/lib/jquery/ui/rails/version.rb +2 -2
  61. metadata +3 -3
@@ -2,6 +2,7 @@
2
2
 
3
3
  | Gem | jQuery UI |
4
4
  |--------|-----------|
5
+ | 5.0.4 | 1.11.3 |
5
6
  | 5.0.3 | 1.11.2 |
6
7
  | 5.0.2 | 1.11.2 |
7
8
  | 5.0.1 | 1.11.1 |
@@ -2,10 +2,10 @@
2
2
  //= require jquery-ui/widget
3
3
 
4
4
  /*!
5
- * jQuery UI Accordion 1.11.2
5
+ * jQuery UI Accordion 1.11.3
6
6
  * http://jqueryui.com
7
7
  *
8
- * Copyright 2014 jQuery Foundation and other contributors
8
+ * Copyright jQuery Foundation and other contributors
9
9
  * Released under the MIT license.
10
10
  * http://jquery.org/license
11
11
  *
@@ -28,7 +28,7 @@
28
28
  }(function( $ ) {
29
29
 
30
30
  return $.widget( "ui.accordion", {
31
- version: "1.11.2",
31
+ version: "1.11.3",
32
32
  options: {
33
33
  active: 0,
34
34
  animate: {},
@@ -486,7 +486,10 @@ return $.widget( "ui.accordion", {
486
486
  toHide.attr({
487
487
  "aria-hidden": "true"
488
488
  });
489
- toHide.prev().attr( "aria-selected", "false" );
489
+ toHide.prev().attr({
490
+ "aria-selected": "false",
491
+ "aria-expanded": "false"
492
+ });
490
493
  // if we're switching panels, remove the old header from the tab order
491
494
  // if we're opening from collapsed state, remove the previous header from the tab order
492
495
  // if we're collapsing, then keep the collapsing header in the tab order
@@ -497,7 +500,7 @@ return $.widget( "ui.accordion", {
497
500
  });
498
501
  } else if ( toShow.length ) {
499
502
  this.headers.filter(function() {
500
- return $( this ).attr( "tabIndex" ) === 0;
503
+ return parseInt( $( this ).attr( "tabIndex" ), 10 ) === 0;
501
504
  })
502
505
  .attr( "tabIndex", -1 );
503
506
  }
@@ -507,8 +510,8 @@ return $.widget( "ui.accordion", {
507
510
  .prev()
508
511
  .attr({
509
512
  "aria-selected": "true",
510
- tabIndex: 0,
511
- "aria-expanded": "true"
513
+ "aria-expanded": "true",
514
+ tabIndex: 0
512
515
  });
513
516
  },
514
517
 
@@ -4,10 +4,10 @@
4
4
  //= require jquery-ui/position
5
5
 
6
6
  /*!
7
- * jQuery UI Autocomplete 1.11.2
7
+ * jQuery UI Autocomplete 1.11.3
8
8
  * http://jqueryui.com
9
9
  *
10
- * Copyright 2014 jQuery Foundation and other contributors
10
+ * Copyright jQuery Foundation and other contributors
11
11
  * Released under the MIT license.
12
12
  * http://jquery.org/license
13
13
  *
@@ -32,7 +32,7 @@
32
32
  }(function( $ ) {
33
33
 
34
34
  $.widget( "ui.autocomplete", {
35
- version: "1.11.2",
35
+ version: "1.11.3",
36
36
  defaultElement: "<input>",
37
37
  options: {
38
38
  appendTo: null,
@@ -2,10 +2,10 @@
2
2
  //= require jquery-ui/widget
3
3
 
4
4
  /*!
5
- * jQuery UI Button 1.11.2
5
+ * jQuery UI Button 1.11.3
6
6
  * http://jqueryui.com
7
7
  *
8
- * Copyright 2014 jQuery Foundation and other contributors
8
+ * Copyright jQuery Foundation and other contributors
9
9
  * Released under the MIT license.
10
10
  * http://jquery.org/license
11
11
  *
@@ -55,7 +55,7 @@ var lastActive,
55
55
  };
56
56
 
57
57
  $.widget( "ui.button", {
58
- version: "1.11.2",
58
+ version: "1.11.3",
59
59
  defaultElement: "<button>",
60
60
  options: {
61
61
  disabled: null,
@@ -351,7 +351,7 @@ $.widget( "ui.button", {
351
351
  });
352
352
 
353
353
  $.widget( "ui.buttonset", {
354
- version: "1.11.2",
354
+ version: "1.11.3",
355
355
  options: {
356
356
  items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"
357
357
  },
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Core 1.11.2
2
+ * jQuery UI Core 1.11.3
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2014 jQuery Foundation and other contributors
5
+ * Copyright jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -24,7 +24,7 @@
24
24
  $.ui = $.ui || {};
25
25
 
26
26
  $.extend( $.ui, {
27
- version: "1.11.2",
27
+ version: "1.11.3",
28
28
 
29
29
  keyCode: {
30
30
  BACKSPACE: 8,
@@ -97,7 +97,7 @@ function focusable( element, isTabIndexNotNaN ) {
97
97
  img = $( "img[usemap='#" + mapName + "']" )[ 0 ];
98
98
  return !!img && visible( img );
99
99
  }
100
- return ( /input|select|textarea|button|object/.test( nodeName ) ?
100
+ return ( /^(input|select|textarea|button|object)$/.test( nodeName ) ?
101
101
  !element.disabled :
102
102
  "a" === nodeName ?
103
103
  element.href || isTabIndexNotNaN :
@@ -1,6 +1,7 @@
1
1
  /* 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
+
4
5
  (function( factory ) {
5
6
  if ( typeof define === "function" && define.amd ) {
6
7
 
@@ -18,15 +19,15 @@ datepicker.regional['ar'] = {
18
19
  prevText: '&#x3C;السابق',
19
20
  nextText: 'التالي&#x3E;',
20
21
  currentText: 'اليوم',
21
- monthNames: ['كانون الثاني', 'شباط', 'آذار', 'نيسان', 'مايو', 'حزيران',
22
- 'تموز', 'آب', 'أيلول', 'تشرين الأول', 'تشرين الثاني', 'كانون الأول'],
22
+ monthNames: ['يناير', 'فبراير', 'مارس', 'أبريل', 'مايو', 'يونيو',
23
+ 'يوليو', 'أغسطس', 'سبتمبر', 'أكتوبر', 'نوفمبر', 'ديسمبر'],
23
24
  monthNamesShort: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'],
24
25
  dayNames: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
25
- dayNamesShort: ['الأحد', 'الاثنين', 'الثلاثاء', 'الأربعاء', 'الخميس', 'الجمعة', 'السبت'],
26
+ dayNamesShort: ['أحد', 'اثنين', 'ثلاثاء', 'أربعاء', 'خميس', 'جمعة', 'سبت'],
26
27
  dayNamesMin: ['ح', 'ن', 'ث', 'ر', 'خ', 'ج', 'س'],
27
28
  weekHeader: 'أسبوع',
28
29
  dateFormat: 'dd/mm/yy',
29
- firstDay: 6,
30
+ firstDay: 0,
30
31
  isRTL: true,
31
32
  showMonthAfterYear: false,
32
33
  yearSuffix: ''};
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/core
2
2
 
3
3
  /*!
4
- * jQuery UI Datepicker 1.11.2
4
+ * jQuery UI Datepicker 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -25,7 +25,7 @@
25
25
  }
26
26
  }(function( $ ) {
27
27
 
28
- $.extend($.ui, { datepicker: { version: "1.11.2" } });
28
+ $.extend($.ui, { datepicker: { version: "1.11.3" } });
29
29
 
30
30
  var datepicker_instActive;
31
31
 
@@ -391,6 +391,10 @@ $.extend(Datepicker.prototype, {
391
391
  } else if (nodeName === "div" || nodeName === "span") {
392
392
  $target.removeClass(this.markerClassName).empty();
393
393
  }
394
+
395
+ if ( datepicker_instActive === inst ) {
396
+ datepicker_instActive = null;
397
+ }
394
398
  },
395
399
 
396
400
  /* Enable the date picker to a jQuery selection.
@@ -2075,7 +2079,7 @@ $.fn.datepicker = function(options){
2075
2079
  $.datepicker = new Datepicker(); // singleton instance
2076
2080
  $.datepicker.initialized = false;
2077
2081
  $.datepicker.uuid = new Date().getTime();
2078
- $.datepicker.version = "1.11.2";
2082
+ $.datepicker.version = "1.11.3";
2079
2083
 
2080
2084
  return $.datepicker;
2081
2085
 
@@ -6,10 +6,10 @@
6
6
  //= require jquery-ui/resizable
7
7
 
8
8
  /*!
9
- * jQuery UI Dialog 1.11.2
9
+ * jQuery UI Dialog 1.11.3
10
10
  * http://jqueryui.com
11
11
  *
12
- * Copyright 2014 jQuery Foundation and other contributors
12
+ * Copyright jQuery Foundation and other contributors
13
13
  * Released under the MIT license.
14
14
  * http://jquery.org/license
15
15
  *
@@ -37,7 +37,7 @@
37
37
  }(function( $ ) {
38
38
 
39
39
  return $.widget( "ui.dialog", {
40
- version: "1.11.2",
40
+ version: "1.11.3",
41
41
  options: {
42
42
  appendTo: "body",
43
43
  autoOpen: true,
@@ -3,10 +3,10 @@
3
3
  //= require jquery-ui/mouse
4
4
 
5
5
  /*!
6
- * jQuery UI Draggable 1.11.2
6
+ * jQuery UI Draggable 1.11.3
7
7
  * http://jqueryui.com
8
8
  *
9
- * Copyright 2014 jQuery Foundation and other contributors
9
+ * Copyright jQuery Foundation and other contributors
10
10
  * Released under the MIT license.
11
11
  * http://jquery.org/license
12
12
  *
@@ -30,7 +30,7 @@
30
30
  }(function( $ ) {
31
31
 
32
32
  $.widget("ui.draggable", $.ui.mouse, {
33
- version: "1.11.2",
33
+ version: "1.11.3",
34
34
  widgetEventPrefix: "drag",
35
35
  options: {
36
36
  addClasses: true,
@@ -4,10 +4,10 @@
4
4
  //= require jquery-ui/draggable
5
5
 
6
6
  /*!
7
- * jQuery UI Droppable 1.11.2
7
+ * jQuery UI Droppable 1.11.3
8
8
  * http://jqueryui.com
9
9
  *
10
- * Copyright 2014 jQuery Foundation and other contributors
10
+ * Copyright jQuery Foundation and other contributors
11
11
  * Released under the MIT license.
12
12
  * http://jquery.org/license
13
13
  *
@@ -32,7 +32,7 @@
32
32
  }(function( $ ) {
33
33
 
34
34
  $.widget( "ui.droppable", {
35
- version: "1.11.2",
35
+ version: "1.11.3",
36
36
  widgetEventPrefix: "drop",
37
37
  options: {
38
38
  accept: "*",
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Blind 1.11.2
4
+ * jQuery UI Effects Blind 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Bounce 1.11.2
4
+ * jQuery UI Effects Bounce 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Clip 1.11.2
4
+ * jQuery UI Effects Clip 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Drop 1.11.2
4
+ * jQuery UI Effects Drop 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Explode 1.11.2
4
+ * jQuery UI Effects Explode 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Fade 1.11.2
4
+ * jQuery UI Effects Fade 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Fold 1.11.2
4
+ * jQuery UI Effects Fold 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Highlight 1.11.2
4
+ * jQuery UI Effects Highlight 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -2,10 +2,10 @@
2
2
  //= require jquery-ui/effect-scale
3
3
 
4
4
  /*!
5
- * jQuery UI Effects Puff 1.11.2
5
+ * jQuery UI Effects Puff 1.11.3
6
6
  * http://jqueryui.com
7
7
  *
8
- * Copyright 2014 jQuery Foundation and other contributors
8
+ * Copyright jQuery Foundation and other contributors
9
9
  * Released under the MIT license.
10
10
  * http://jquery.org/license
11
11
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Pulsate 1.11.2
4
+ * jQuery UI Effects Pulsate 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -2,10 +2,10 @@
2
2
  //= require jquery-ui/effect-size
3
3
 
4
4
  /*!
5
- * jQuery UI Effects Scale 1.11.2
5
+ * jQuery UI Effects Scale 1.11.3
6
6
  * http://jqueryui.com
7
7
  *
8
- * Copyright 2014 jQuery Foundation and other contributors
8
+ * Copyright jQuery Foundation and other contributors
9
9
  * Released under the MIT license.
10
10
  * http://jquery.org/license
11
11
  *
@@ -1,10 +1,10 @@
1
1
  //= require jquery-ui/effect
2
2
 
3
3
  /*!
4
- * jQuery UI Effects Shake 1.11.2
4
+ * jQuery UI Effects Shake 1.11.3
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2014 jQuery Foundation and other contributors
7
+ * Copyright jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *