Changeset 9559 for trunk/themes/default/js/ui/jquery.ui.datepicker.js
- Timestamp:
- Mar 7, 2011, 1:58:34 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/default/js/ui/jquery.ui.datepicker.js
r9172 r9559 1 1 /* 2 * jQuery UI Datepicker 1.8. 92 * jQuery UI Datepicker 1.8.10 3 3 * 4 4 * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) … … 13 13 (function( $, undefined ) { 14 14 15 $.extend($.ui, { datepicker: { version: "1.8. 9" } });15 $.extend($.ui, { datepicker: { version: "1.8.10" } }); 16 16 17 17 var PROP_NAME = 'datepicker'; … … 701 701 'Class']('ui-datepicker-rtl'); 702 702 if (inst == $.datepicker._curInst && $.datepicker._datepickerShowing && inst.input && 703 inst.input.is(':visible') && !inst.input.is(':disabled')) 703 // #6694 - don't focus the input if it's already focused 704 // this breaks the change event in IE 705 inst.input.is(':visible') && !inst.input.is(':disabled') && inst.input[0] != document.activeElement) 704 706 inst.input.focus(); 705 707 // deffered render of the years select (to avoid flashes on Firefox) … … 753 755 var inst = this._getInst(obj); 754 756 var isRTL = this._get(inst, 'isRTL'); 755 while (obj && (obj.type == 'hidden' || obj.nodeType != 1 )) {757 while (obj && (obj.type == 'hidden' || obj.nodeType != 1 || $.expr.filters.hidden(obj))) { 756 758 obj = obj[isRTL ? 'previousSibling' : 'nextSibling']; 757 759 } … … 1655 1657 /* Find the number of days in a given month. */ 1656 1658 _getDaysInMonth: function(year, month) { 1657 return 32 - new Date(year, month, 32).getDate();1659 return 32 - this._daylightSavingAdjust(new Date(year, month, 32)).getDate(); 1658 1660 }, 1659 1661 … … 1725 1727 @return jQuery object */ 1726 1728 $.fn.datepicker = function(options){ 1727 1729 1730 /* Verify an empty collection wasn't passed - Fixes #6976 */ 1731 if ( !this.length ) { 1732 return this; 1733 } 1734 1728 1735 /* Initialise the date picker. */ 1729 1736 if (!$.datepicker.initialized) { … … 1751 1758 $.datepicker.initialized = false; 1752 1759 $.datepicker.uuid = new Date().getTime(); 1753 $.datepicker.version = "1.8. 9";1760 $.datepicker.version = "1.8.10"; 1754 1761 1755 1762 // Workaround for #4055
Note: See TracChangeset
for help on using the changeset viewer.