jquery-ui-rails 4.1.1 → 4.2.1

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 (64) hide show
  1. data/History.md +13 -0
  2. data/README.md +4 -3
  3. data/VERSIONS.md +3 -0
  4. data/app/assets/javascripts/jquery.ui.accordion.js +13 -15
  5. data/app/assets/javascripts/jquery.ui.autocomplete.js +12 -16
  6. data/app/assets/javascripts/jquery.ui.button.js +21 -45
  7. data/app/assets/javascripts/jquery.ui.core.js +3 -3
  8. data/app/assets/javascripts/jquery.ui.datepicker-es.js +7 -7
  9. data/app/assets/javascripts/jquery.ui.datepicker-fi.js +1 -1
  10. data/app/assets/javascripts/jquery.ui.datepicker-fr-CH.js +7 -7
  11. data/app/assets/javascripts/jquery.ui.datepicker-fr.js +6 -6
  12. data/app/assets/javascripts/jquery.ui.datepicker-is.js +1 -1
  13. data/app/assets/javascripts/jquery.ui.datepicker-lt.js +2 -2
  14. data/app/assets/javascripts/jquery.ui.datepicker-lv.js +4 -4
  15. data/app/assets/javascripts/jquery.ui.datepicker-pt.js +1 -1
  16. data/app/assets/javascripts/jquery.ui.datepicker.js +4 -4
  17. data/app/assets/javascripts/jquery.ui.dialog.js +25 -10
  18. data/app/assets/javascripts/jquery.ui.draggable.js +3 -3
  19. data/app/assets/javascripts/jquery.ui.droppable.js +31 -14
  20. data/app/assets/javascripts/jquery.ui.effect-blind.js +2 -2
  21. data/app/assets/javascripts/jquery.ui.effect-bounce.js +2 -2
  22. data/app/assets/javascripts/jquery.ui.effect-clip.js +2 -2
  23. data/app/assets/javascripts/jquery.ui.effect-drop.js +2 -2
  24. data/app/assets/javascripts/jquery.ui.effect-explode.js +2 -2
  25. data/app/assets/javascripts/jquery.ui.effect-fade.js +2 -2
  26. data/app/assets/javascripts/jquery.ui.effect-fold.js +2 -2
  27. data/app/assets/javascripts/jquery.ui.effect-highlight.js +2 -2
  28. data/app/assets/javascripts/jquery.ui.effect-pulsate.js +2 -2
  29. data/app/assets/javascripts/jquery.ui.effect-scale.js +2 -2
  30. data/app/assets/javascripts/jquery.ui.effect-shake.js +2 -2
  31. data/app/assets/javascripts/jquery.ui.effect-slide.js +2 -2
  32. data/app/assets/javascripts/jquery.ui.effect-transfer.js +2 -2
  33. data/app/assets/javascripts/jquery.ui.effect.js +3 -3
  34. data/app/assets/javascripts/jquery.ui.menu.js +14 -8
  35. data/app/assets/javascripts/jquery.ui.mouse.js +3 -3
  36. data/app/assets/javascripts/jquery.ui.position.js +11 -7
  37. data/app/assets/javascripts/jquery.ui.progressbar.js +3 -3
  38. data/app/assets/javascripts/jquery.ui.resizable.js +20 -10
  39. data/app/assets/javascripts/jquery.ui.selectable.js +3 -3
  40. data/app/assets/javascripts/jquery.ui.slider.js +11 -7
  41. data/app/assets/javascripts/jquery.ui.sortable.js +18 -14
  42. data/app/assets/javascripts/jquery.ui.spinner.js +9 -5
  43. data/app/assets/javascripts/jquery.ui.tabs.js +8 -5
  44. data/app/assets/javascripts/jquery.ui.tooltip.js +3 -3
  45. data/app/assets/javascripts/jquery.ui.widget.js +5 -5
  46. data/app/assets/stylesheets/jquery.ui.accordion.css.erb +3 -3
  47. data/app/assets/stylesheets/jquery.ui.all.css.erb +3 -3
  48. data/app/assets/stylesheets/jquery.ui.autocomplete.css.erb +3 -3
  49. data/app/assets/stylesheets/jquery.ui.base.css.erb +3 -3
  50. data/app/assets/stylesheets/jquery.ui.button.css.erb +3 -3
  51. data/app/assets/stylesheets/jquery.ui.core.css.erb +3 -3
  52. data/app/assets/stylesheets/jquery.ui.datepicker.css.erb +3 -6
  53. data/app/assets/stylesheets/jquery.ui.dialog.css.erb +5 -4
  54. data/app/assets/stylesheets/jquery.ui.menu.css.erb +3 -3
  55. data/app/assets/stylesheets/jquery.ui.progressbar.css.erb +3 -3
  56. data/app/assets/stylesheets/jquery.ui.resizable.css.erb +2 -4
  57. data/app/assets/stylesheets/jquery.ui.selectable.css.erb +2 -4
  58. data/app/assets/stylesheets/jquery.ui.slider.css.erb +3 -3
  59. data/app/assets/stylesheets/jquery.ui.spinner.css.erb +5 -5
  60. data/app/assets/stylesheets/jquery.ui.tabs.css.erb +8 -9
  61. data/app/assets/stylesheets/jquery.ui.theme.css.erb +8 -4
  62. data/app/assets/stylesheets/jquery.ui.tooltip.css.erb +4 -2
  63. data/lib/jquery/ui/rails/version.rb +2 -2
  64. metadata +5 -5
data/History.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # master
2
2
 
3
+ # 4.2.1
4
+
5
+ * Update to jQuery UI 1.10.4
6
+
7
+ # 4.2.0
8
+
9
+ * Bump Rails dependency to `>=3.2.16`
10
+ * Re-release 4.1.1 as 4.2.0
11
+
12
+ # 4.1.2
13
+
14
+ * Re-release 4.1.0 as 4.1.2; last version compatible with Rails 3.1
15
+
3
16
  # 4.1.1
4
17
 
5
18
  * Declare image dependencies using `//= depend_on_asset`, to stop the
data/README.md CHANGED
@@ -1,9 +1,10 @@
1
1
  # jquery-ui-rails
2
2
 
3
- [![Build Status](https://secure.travis-ci.org/joliss/jquery-ui-rails.png?branch=master)](http://travis-ci.org/joliss/jquery-ui-rails) [![Dependency Status](https://gemnasium.com/joliss/jquery-ui-rails.png)](https://gemnasium.com/joliss/jquery-ui-rails)
3
+ [![Build Status](https://secure.travis-ci.org/joliss/jquery-ui-rails.png?branch=master)](http://travis-ci.org/joliss/jquery-ui-rails)
4
+ [![Dependency Status](https://gemnasium.com/joliss/jquery-ui-rails.png)](https://gemnasium.com/joliss/jquery-ui-rails)
4
5
 
5
- This gem packages the jQuery UI 1.10.0 assets (JavaScripts, stylesheets, and
6
- images) for the Rails 3.1+ [asset
6
+ This gem packages the jQuery UI assets (JavaScripts, stylesheets, and
7
+ images) for the Rails [asset
7
8
  pipeline](http://guides.rubyonrails.org/asset_pipeline.html), so you never have
8
9
  to download a custom package through the [web
9
10
  interface](http://jqueryui.com/download) again.
data/VERSIONS.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  | Gem | jQuery UI |
4
4
  |--------|-----------|
5
+ | 4.2.1 | 1.10.4 |
6
+ | 4.2.0 | 1.10.3 |
7
+ | 4.1.2 | 1.10.3 |
5
8
  | 4.1.1 | 1.10.3 |
6
9
  | 4.1.0 | 1.10.3 |
7
10
  | 4.0.5 | 1.10.3 |
@@ -2,10 +2,10 @@
2
2
  //= require jquery.ui.widget
3
3
 
4
4
  /*!
5
- * jQuery UI Accordion 1.10.3
5
+ * jQuery UI Accordion 1.10.4
6
6
  * http://jqueryui.com
7
7
  *
8
- * Copyright 2013 jQuery Foundation and other contributors
8
+ * Copyright 2014 jQuery Foundation and other contributors
9
9
  * Released under the MIT license.
10
10
  * http://jquery.org/license
11
11
  *
@@ -27,7 +27,7 @@ showProps.height = showProps.paddingTop = showProps.paddingBottom =
27
27
  showProps.borderTopWidth = showProps.borderBottomWidth = "show";
28
28
 
29
29
  $.widget( "ui.accordion", {
30
- version: "1.10.3",
30
+ version: "1.10.4",
31
31
  options: {
32
32
  active: 0,
33
33
  animate: {},
@@ -105,6 +105,7 @@ $.widget( "ui.accordion", {
105
105
  this.headers
106
106
  .removeClass( "ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top" )
107
107
  .removeAttr( "role" )
108
+ .removeAttr( "aria-expanded" )
108
109
  .removeAttr( "aria-selected" )
109
110
  .removeAttr( "aria-controls" )
110
111
  .removeAttr( "tabIndex" )
@@ -119,7 +120,6 @@ $.widget( "ui.accordion", {
119
120
  contents = this.headers.next()
120
121
  .css( "display", "" )
121
122
  .removeAttr( "role" )
122
- .removeAttr( "aria-expanded" )
123
123
  .removeAttr( "aria-hidden" )
124
124
  .removeAttr( "aria-labelledby" )
125
125
  .removeClass( "ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled" )
@@ -170,7 +170,6 @@ $.widget( "ui.accordion", {
170
170
  },
171
171
 
172
172
  _keydown: function( event ) {
173
- /*jshint maxcomplexity:15*/
174
173
  if ( event.altKey || event.ctrlKey ) {
175
174
  return;
176
175
  }
@@ -297,11 +296,11 @@ $.widget( "ui.accordion", {
297
296
  .not( this.active )
298
297
  .attr({
299
298
  "aria-selected": "false",
299
+ "aria-expanded": "false",
300
300
  tabIndex: -1
301
301
  })
302
302
  .next()
303
303
  .attr({
304
- "aria-expanded": "false",
305
304
  "aria-hidden": "true"
306
305
  })
307
306
  .hide();
@@ -312,11 +311,11 @@ $.widget( "ui.accordion", {
312
311
  } else {
313
312
  this.active.attr({
314
313
  "aria-selected": "true",
314
+ "aria-expanded": "true",
315
315
  tabIndex: 0
316
316
  })
317
317
  .next()
318
318
  .attr({
319
- "aria-expanded": "true",
320
319
  "aria-hidden": "false"
321
320
  });
322
321
  }
@@ -471,7 +470,6 @@ $.widget( "ui.accordion", {
471
470
  }
472
471
 
473
472
  toHide.attr({
474
- "aria-expanded": "false",
475
473
  "aria-hidden": "true"
476
474
  });
477
475
  toHide.prev().attr( "aria-selected", "false" );
@@ -479,7 +477,10 @@ $.widget( "ui.accordion", {
479
477
  // if we're opening from collapsed state, remove the previous header from the tab order
480
478
  // if we're collapsing, then keep the collapsing header in the tab order
481
479
  if ( toShow.length && toHide.length ) {
482
- toHide.prev().attr( "tabIndex", -1 );
480
+ toHide.prev().attr({
481
+ "tabIndex": -1,
482
+ "aria-expanded": "false"
483
+ });
483
484
  } else if ( toShow.length ) {
484
485
  this.headers.filter(function() {
485
486
  return $( this ).attr( "tabIndex" ) === 0;
@@ -488,14 +489,12 @@ $.widget( "ui.accordion", {
488
489
  }
489
490
 
490
491
  toShow
491
- .attr({
492
- "aria-expanded": "true",
493
- "aria-hidden": "false"
494
- })
492
+ .attr( "aria-hidden", "false" )
495
493
  .prev()
496
494
  .attr({
497
495
  "aria-selected": "true",
498
- tabIndex: 0
496
+ tabIndex: 0,
497
+ "aria-expanded": "true"
499
498
  });
500
499
  },
501
500
 
@@ -567,7 +566,6 @@ $.widget( "ui.accordion", {
567
566
  if ( toHide.length ) {
568
567
  toHide.parent()[0].className = toHide.parent()[0].className;
569
568
  }
570
-
571
569
  this._trigger( "activate", null, data );
572
570
  }
573
571
  });
@@ -4,10 +4,10 @@
4
4
  //= require jquery.ui.position
5
5
 
6
6
  /*!
7
- * jQuery UI Autocomplete 1.10.3
7
+ * jQuery UI Autocomplete 1.10.4
8
8
  * http://jqueryui.com
9
9
  *
10
- * Copyright 2013 jQuery Foundation and other contributors
10
+ * Copyright 2014 jQuery Foundation and other contributors
11
11
  * Released under the MIT license.
12
12
  * http://jquery.org/license
13
13
  *
@@ -21,11 +21,8 @@
21
21
  */
22
22
  (function( $, undefined ) {
23
23
 
24
- // used to prevent race conditions with remote data sources
25
- var requestIndex = 0;
26
-
27
24
  $.widget( "ui.autocomplete", {
28
- version: "1.10.3",
25
+ version: "1.10.4",
29
26
  defaultElement: "<input>",
30
27
  options: {
31
28
  appendTo: null,
@@ -49,6 +46,7 @@ $.widget( "ui.autocomplete", {
49
46
  select: null
50
47
  },
51
48
 
49
+ requestIndex: 0,
52
50
  pending: 0,
53
51
 
54
52
  _create: function() {
@@ -82,7 +80,6 @@ $.widget( "ui.autocomplete", {
82
80
 
83
81
  this._on( this.element, {
84
82
  keydown: function( event ) {
85
- /*jshint maxcomplexity:15*/
86
83
  if ( this.element.prop( "readOnly" ) ) {
87
84
  suppressKeyPress = true;
88
85
  suppressInput = true;
@@ -425,19 +422,18 @@ $.widget( "ui.autocomplete", {
425
422
  },
426
423
 
427
424
  _response: function() {
428
- var that = this,
429
- index = ++requestIndex;
425
+ var index = ++this.requestIndex;
430
426
 
431
- return function( content ) {
432
- if ( index === requestIndex ) {
433
- that.__response( content );
427
+ return $.proxy(function( content ) {
428
+ if ( index === this.requestIndex ) {
429
+ this.__response( content );
434
430
  }
435
431
 
436
- that.pending--;
437
- if ( !that.pending ) {
438
- that.element.removeClass( "ui-autocomplete-loading" );
432
+ this.pending--;
433
+ if ( !this.pending ) {
434
+ this.element.removeClass( "ui-autocomplete-loading" );
439
435
  }
440
- };
436
+ }, this );
441
437
  },
442
438
 
443
439
  __response: function( content ) {
@@ -2,10 +2,10 @@
2
2
  //= require jquery.ui.widget
3
3
 
4
4
  /*!
5
- * jQuery UI Button 1.10.3
5
+ * jQuery UI Button 1.10.4
6
6
  * http://jqueryui.com
7
7
  *
8
- * Copyright 2013 jQuery Foundation and other contributors
8
+ * Copyright 2014 jQuery Foundation and other contributors
9
9
  * Released under the MIT license.
10
10
  * http://jquery.org/license
11
11
  *
@@ -17,9 +17,8 @@
17
17
  */
18
18
  (function( $, undefined ) {
19
19
 
20
- var lastActive, startXPos, startYPos, clickDragged,
20
+ var lastActive,
21
21
  baseClasses = "ui-button ui-widget ui-state-default ui-corner-all",
22
- stateClasses = "ui-state-hover ui-state-active ",
23
22
  typeClasses = "ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only",
24
23
  formResetHandler = function() {
25
24
  var form = $( this );
@@ -46,7 +45,7 @@ var lastActive, startXPos, startYPos, clickDragged,
46
45
  };
47
46
 
48
47
  $.widget( "ui.button", {
49
- version: "1.10.3",
48
+ version: "1.10.4",
50
49
  defaultElement: "<button>",
51
50
  options: {
52
51
  disabled: null,
@@ -74,8 +73,7 @@ $.widget( "ui.button", {
74
73
  var that = this,
75
74
  options = this.options,
76
75
  toggleButton = this.type === "checkbox" || this.type === "radio",
77
- activeClass = !toggleButton ? "ui-state-active" : "",
78
- focusClass = "ui-state-focus";
76
+ activeClass = !toggleButton ? "ui-state-active" : "";
79
77
 
80
78
  if ( options.label === null ) {
81
79
  options.label = (this.type === "input" ? this.buttonElement.val() : this.buttonElement.html());
@@ -107,53 +105,32 @@ $.widget( "ui.button", {
107
105
  }
108
106
  });
109
107
 
110
- this.element
111
- .bind( "focus" + this.eventNamespace, function() {
112
- // no need to check disabled, focus won't be triggered anyway
113
- that.buttonElement.addClass( focusClass );
114
- })
115
- .bind( "blur" + this.eventNamespace, function() {
116
- that.buttonElement.removeClass( focusClass );
117
- });
108
+ // Can't use _focusable() because the element that receives focus
109
+ // and the element that gets the ui-state-focus class are different
110
+ this._on({
111
+ focus: function() {
112
+ this.buttonElement.addClass( "ui-state-focus" );
113
+ },
114
+ blur: function() {
115
+ this.buttonElement.removeClass( "ui-state-focus" );
116
+ }
117
+ });
118
118
 
119
119
  if ( toggleButton ) {
120
120
  this.element.bind( "change" + this.eventNamespace, function() {
121
- if ( clickDragged ) {
122
- return;
123
- }
124
121
  that.refresh();
125
122
  });
126
- // if mouse moves between mousedown and mouseup (drag) set clickDragged flag
127
- // prevents issue where button state changes but checkbox/radio checked state
128
- // does not in Firefox (see ticket #6970)
129
- this.buttonElement
130
- .bind( "mousedown" + this.eventNamespace, function( event ) {
131
- if ( options.disabled ) {
132
- return;
133
- }
134
- clickDragged = false;
135
- startXPos = event.pageX;
136
- startYPos = event.pageY;
137
- })
138
- .bind( "mouseup" + this.eventNamespace, function( event ) {
139
- if ( options.disabled ) {
140
- return;
141
- }
142
- if ( startXPos !== event.pageX || startYPos !== event.pageY ) {
143
- clickDragged = true;
144
- }
145
- });
146
123
  }
147
124
 
148
125
  if ( this.type === "checkbox" ) {
149
126
  this.buttonElement.bind( "click" + this.eventNamespace, function() {
150
- if ( options.disabled || clickDragged ) {
127
+ if ( options.disabled ) {
151
128
  return false;
152
129
  }
153
130
  });
154
131
  } else if ( this.type === "radio" ) {
155
132
  this.buttonElement.bind( "click" + this.eventNamespace, function() {
156
- if ( options.disabled || clickDragged ) {
133
+ if ( options.disabled ) {
157
134
  return false;
158
135
  }
159
136
  $( this ).addClass( "ui-state-active" );
@@ -263,7 +240,7 @@ $.widget( "ui.button", {
263
240
  this.element
264
241
  .removeClass( "ui-helper-hidden-accessible" );
265
242
  this.buttonElement
266
- .removeClass( baseClasses + " " + stateClasses + " " + typeClasses )
243
+ .removeClass( baseClasses + " ui-state-active " + typeClasses )
267
244
  .removeAttr( "role" )
268
245
  .removeAttr( "aria-pressed" )
269
246
  .html( this.buttonElement.find(".ui-button-text").html() );
@@ -276,10 +253,9 @@ $.widget( "ui.button", {
276
253
  _setOption: function( key, value ) {
277
254
  this._super( key, value );
278
255
  if ( key === "disabled" ) {
256
+ this.element.prop( "disabled", !!value );
279
257
  if ( value ) {
280
- this.element.prop( "disabled", true );
281
- } else {
282
- this.element.prop( "disabled", false );
258
+ this.buttonElement.removeClass( "ui-state-focus" );
283
259
  }
284
260
  return;
285
261
  }
@@ -363,7 +339,7 @@ $.widget( "ui.button", {
363
339
  });
364
340
 
365
341
  $.widget( "ui.buttonset", {
366
- version: "1.10.3",
342
+ version: "1.10.4",
367
343
  options: {
368
344
  items: "button, input[type=button], input[type=submit], input[type=reset], input[type=checkbox], input[type=radio], a, :data(ui-button)"
369
345
  },
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Core 1.10.3
2
+ * jQuery UI Core 1.10.4
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2013 jQuery Foundation and other contributors
5
+ * Copyright 2014 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -17,7 +17,7 @@ var uuid = 0,
17
17
  $.ui = $.ui || {};
18
18
 
19
19
  $.extend( $.ui, {
20
- version: "1.10.3",
20
+ version: "1.10.4",
21
21
 
22
22
  keyCode: {
23
23
  BACKSPACE: 8,
@@ -6,13 +6,13 @@ jQuery(function($){
6
6
  prevText: '&#x3C;Ant',
7
7
  nextText: 'Sig&#x3E;',
8
8
  currentText: 'Hoy',
9
- monthNames: ['Enero','Febrero','Marzo','Abril','Mayo','Junio',
10
- 'Julio','Agosto','Septiembre','Octubre','Noviembre','Diciembre'],
11
- monthNamesShort: ['Ene','Feb','Mar','Abr','May','Jun',
12
- 'Jul','Ago','Sep','Oct','Nov','Dic'],
13
- dayNames: ['Domingo','Lunes','Martes','Miércoles','Jueves','Viernes','Sábado'],
14
- dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
15
- dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi',''],
9
+ monthNames: ['enero','febrero','marzo','abril','mayo','junio',
10
+ 'julio','agosto','septiembre','octubre','noviembre','diciembre'],
11
+ monthNamesShort: ['ene','feb','mar','abr','may','jun',
12
+ 'jul','ogo','sep','oct','nov','dic'],
13
+ dayNames: ['domingo','lunes','martes','miércoles','jueves','viernes','sábado'],
14
+ dayNamesShort: ['dom','lun','mar','mié','juv','vie','sáb'],
15
+ dayNamesMin: ['D','L','M','X','J','V','S'],
16
16
  weekHeader: 'Sm',
17
17
  dateFormat: 'dd/mm/yy',
18
18
  firstDay: 1,
@@ -14,7 +14,7 @@ jQuery(function($){
14
14
  dayNames: ['Sunnuntai','Maanantai','Tiistai','Keskiviikko','Torstai','Perjantai','Lauantai'],
15
15
  dayNamesMin: ['Su','Ma','Ti','Ke','To','Pe','La'],
16
16
  weekHeader: 'Vk',
17
- dateFormat: 'dd.mm.yy',
17
+ dateFormat: 'd.m.yy',
18
18
  firstDay: 1,
19
19
  isRTL: false,
20
20
  showMonthAfterYear: false,
@@ -6,13 +6,13 @@ jQuery(function($){
6
6
  prevText: '&#x3C;Préc',
7
7
  nextText: 'Suiv&#x3E;',
8
8
  currentText: 'Courant',
9
- monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
10
- 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
11
- monthNamesShort: ['Jan','Fév','Mar','Avr','Mai','Jun',
12
- 'Jul','Aoû','Sep','Oct','Nov','Déc'],
13
- dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
14
- dayNamesShort: ['Dim','Lun','Mar','Mer','Jeu','Ven','Sam'],
15
- dayNamesMin: ['Di','Lu','Ma','Me','Je','Ve','Sa'],
9
+ monthNames: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin',
10
+ 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
11
+ monthNamesShort: ['janv.', 'févr.', 'mars', 'avril', 'mai', 'juin',
12
+ 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
13
+ dayNames: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
14
+ dayNamesShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
15
+ dayNamesMin: ['D', 'L', 'M', 'M', 'J', 'V', 'S'],
16
16
  weekHeader: 'Sm',
17
17
  dateFormat: 'dd.mm.yy',
18
18
  firstDay: 1,
@@ -8,12 +8,12 @@ jQuery(function($){
8
8
  prevText: 'Précédent',
9
9
  nextText: 'Suivant',
10
10
  currentText: 'Aujourd\'hui',
11
- monthNames: ['Janvier','Février','Mars','Avril','Mai','Juin',
12
- 'Juillet','Août','Septembre','Octobre','Novembre','Décembre'],
13
- monthNamesShort: ['Janv.','Févr.','Mars','Avril','Mai','Juin',
14
- 'Juil.','Août','Sept.','Oct.','Nov.','Déc.'],
15
- dayNames: ['Dimanche','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi'],
16
- dayNamesShort: ['Dim.','Lun.','Mar.','Mer.','Jeu.','Ven.','Sam.'],
11
+ monthNames: ['janvier', 'février', 'mars', 'avril', 'mai', 'juin',
12
+ 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'],
13
+ monthNamesShort: ['janv.', 'févr.', 'mars', 'avril', 'mai', 'juin',
14
+ 'juil.', 'août', 'sept.', 'oct.', 'nov.', 'déc.'],
15
+ dayNames: ['dimanche', 'lundi', 'mardi', 'mercredi', 'jeudi', 'vendredi', 'samedi'],
16
+ dayNamesShort: ['dim.', 'lun.', 'mar.', 'mer.', 'jeu.', 'ven.', 'sam.'],
17
17
  dayNamesMin: ['D','L','M','M','J','V','S'],
18
18
  weekHeader: 'Sem.',
19
19
  dateFormat: 'dd/mm/yy',
@@ -14,7 +14,7 @@ jQuery(function($){
14
14
  dayNamesShort: ['Sun','Mán','Þri','Mið','Fim','Fös','Lau'],
15
15
  dayNamesMin: ['Su','Má','Þr','Mi','Fi','Fö','La'],
16
16
  weekHeader: 'Vika',
17
- dateFormat: 'dd/mm/yy',
17
+ dateFormat: 'dd.mm.yy',
18
18
  firstDay: 0,
19
19
  isRTL: false,
20
20
  showMonthAfterYear: false,
@@ -13,11 +13,11 @@ jQuery(function($){
13
13
  dayNames: ['sekmadienis','pirmadienis','antradienis','trečiadienis','ketvirtadienis','penktadienis','šeštadienis'],
14
14
  dayNamesShort: ['sek','pir','ant','tre','ket','pen','šeš'],
15
15
  dayNamesMin: ['Se','Pr','An','Tr','Ke','Pe','Še'],
16
- weekHeader: 'Wk',
16
+ weekHeader: 'SAV',
17
17
  dateFormat: 'yy-mm-dd',
18
18
  firstDay: 1,
19
19
  isRTL: false,
20
- showMonthAfterYear: false,
20
+ showMonthAfterYear: true,
21
21
  yearSuffix: ''};
22
22
  $.datepicker.setDefaults($.datepicker.regional['lt']);
23
23
  });
@@ -3,8 +3,8 @@
3
3
  jQuery(function($){
4
4
  $.datepicker.regional['lv'] = {
5
5
  closeText: 'Aizvērt',
6
- prevText: 'Iepr',
7
- nextText: 'Nāka',
6
+ prevText: 'Iepr.',
7
+ nextText: 'Nāk.',
8
8
  currentText: 'Šodien',
9
9
  monthNames: ['Janvāris','Februāris','Marts','Aprīlis','Maijs','Jūnijs',
10
10
  'Jūlijs','Augusts','Septembris','Oktobris','Novembris','Decembris'],
@@ -13,8 +13,8 @@ jQuery(function($){
13
13
  dayNames: ['svētdiena','pirmdiena','otrdiena','trešdiena','ceturtdiena','piektdiena','sestdiena'],
14
14
  dayNamesShort: ['svt','prm','otr','tre','ctr','pkt','sst'],
15
15
  dayNamesMin: ['Sv','Pr','Ot','Tr','Ct','Pk','Ss'],
16
- weekHeader: 'Nav',
17
- dateFormat: 'dd-mm-yy',
16
+ weekHeader: 'Ned.',
17
+ dateFormat: 'dd.mm.yy',
18
18
  firstDay: 1,
19
19
  isRTL: false,
20
20
  showMonthAfterYear: false,
@@ -2,7 +2,7 @@
2
2
  jQuery(function($){
3
3
  $.datepicker.regional['pt'] = {
4
4
  closeText: 'Fechar',
5
- prevText: '&#x3C;Anterior',
5
+ prevText: 'Anterior',
6
6
  nextText: 'Seguinte',
7
7
  currentText: 'Hoje',
8
8
  monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho',
@@ -1,10 +1,10 @@
1
1
  //= require jquery.ui.core
2
2
 
3
3
  /*!
4
- * jQuery UI Datepicker 1.10.3
4
+ * jQuery UI Datepicker 1.10.4
5
5
  * http://jqueryui.com
6
6
  *
7
- * Copyright 2013 jQuery Foundation and other contributors
7
+ * Copyright 2014 jQuery Foundation and other contributors
8
8
  * Released under the MIT license.
9
9
  * http://jquery.org/license
10
10
  *
@@ -15,7 +15,7 @@
15
15
  */
16
16
  (function( $, undefined ) {
17
17
 
18
- $.extend($.ui, { datepicker: { version: "1.10.3" } });
18
+ $.extend($.ui, { datepicker: { version: "1.10.4" } });
19
19
 
20
20
  var PROP_NAME = "datepicker",
21
21
  instActive;
@@ -2035,6 +2035,6 @@ $.fn.datepicker = function(options){
2035
2035
  $.datepicker = new Datepicker(); // singleton instance
2036
2036
  $.datepicker.initialized = false;
2037
2037
  $.datepicker.uuid = new Date().getTime();
2038
- $.datepicker.version = "1.10.3";
2038
+ $.datepicker.version = "1.10.4";
2039
2039
 
2040
2040
  })(jQuery);
@@ -6,10 +6,10 @@
6
6
  //= require jquery.ui.resizable
7
7
 
8
8
  /*!
9
- * jQuery UI Dialog 1.10.3
9
+ * jQuery UI Dialog 1.10.4
10
10
  * http://jqueryui.com
11
11
  *
12
- * Copyright 2013 jQuery Foundation and other contributors
12
+ * Copyright 2014 jQuery Foundation and other contributors
13
13
  * Released under the MIT license.
14
14
  * http://jquery.org/license
15
15
  *
@@ -43,7 +43,7 @@ var sizeRelatedOptions = {
43
43
  };
44
44
 
45
45
  $.widget( "ui.dialog", {
46
- version: "1.10.3",
46
+ version: "1.10.4",
47
47
  options: {
48
48
  appendTo: "body",
49
49
  autoOpen: true,
@@ -176,7 +176,8 @@ $.widget( "ui.dialog", {
176
176
  enable: $.noop,
177
177
 
178
178
  close: function( event ) {
179
- var that = this;
179
+ var activeElement,
180
+ that = this;
180
181
 
181
182
  if ( !this._isOpen || this._trigger( "beforeClose", event ) === false ) {
182
183
  return;
@@ -186,10 +187,22 @@ $.widget( "ui.dialog", {
186
187
  this._destroyOverlay();
187
188
 
188
189
  if ( !this.opener.filter(":focusable").focus().length ) {
189
- // Hiding a focused element doesn't trigger blur in WebKit
190
- // so in case we have nothing to focus on, explicitly blur the active element
191
- // https://bugs.webkit.org/show_bug.cgi?id=47182
192
- $( this.document[0].activeElement ).blur();
190
+
191
+ // support: IE9
192
+ // IE9 throws an "Unspecified error" accessing document.activeElement from an <iframe>
193
+ try {
194
+ activeElement = this.document[ 0 ].activeElement;
195
+
196
+ // Support: IE9, IE10
197
+ // If the <body> is blurred, IE will switch windows, see #4520
198
+ if ( activeElement && activeElement.nodeName.toLowerCase() !== "body" ) {
199
+
200
+ // Hiding a focused element doesn't trigger blur in WebKit
201
+ // so in case we have nothing to focus on, explicitly blur the active element
202
+ // https://bugs.webkit.org/show_bug.cgi?id=47182
203
+ $( activeElement ).blur();
204
+ }
205
+ } catch ( error ) {}
193
206
  }
194
207
 
195
208
  this._hide( this.uiDialog, this.options.hide, function() {
@@ -349,7 +362,10 @@ $.widget( "ui.dialog", {
349
362
  }
350
363
  });
351
364
 
352
- this.uiDialogTitlebarClose = $("<button></button>")
365
+ // support: IE
366
+ // Use type="button" to prevent enter keypresses in textboxes from closing the
367
+ // dialog in IE (#9312)
368
+ this.uiDialogTitlebarClose = $( "<button type='button'></button>" )
353
369
  .button({
354
370
  label: this.options.closeText,
355
371
  icons: {
@@ -563,7 +579,6 @@ $.widget( "ui.dialog", {
563
579
  },
564
580
 
565
581
  _setOption: function( key, value ) {
566
- /*jshint maxcomplexity:15*/
567
582
  var isDraggable, isResizable,
568
583
  uiDialog = this.uiDialog;
569
584
 
@@ -3,10 +3,10 @@
3
3
  //= require jquery.ui.mouse
4
4
 
5
5
  /*!
6
- * jQuery UI Draggable 1.10.3
6
+ * jQuery UI Draggable 1.10.4
7
7
  * http://jqueryui.com
8
8
  *
9
- * Copyright 2013 jQuery Foundation and other contributors
9
+ * Copyright 2014 jQuery Foundation and other contributors
10
10
  * Released under the MIT license.
11
11
  * http://jquery.org/license
12
12
  *
@@ -20,7 +20,7 @@
20
20
  (function( $, undefined ) {
21
21
 
22
22
  $.widget("ui.draggable", $.ui.mouse, {
23
- version: "1.10.3",
23
+ version: "1.10.4",
24
24
  widgetEventPrefix: "drag",
25
25
  options: {
26
26
  addClasses: true,