mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
datepicker: missing changes from theming
This commit is contained in:
parent
fd8905bcd2
commit
5414f32e2f
@ -1271,7 +1271,7 @@ $.extend(DatepickerInstance.prototype, {
|
|||||||
else {
|
else {
|
||||||
var inMinYear = (minDate && minDate.getFullYear() == drawYear);
|
var inMinYear = (minDate && minDate.getFullYear() == drawYear);
|
||||||
var inMaxYear = (maxDate && maxDate.getFullYear() == drawYear);
|
var inMaxYear = (maxDate && maxDate.getFullYear() == drawYear);
|
||||||
html += '<select class="ui-datepicker-newMonth" ' +
|
html += '<select class="ui-datepicker-new-month" ' +
|
||||||
'onchange="jQuery.datepicker._selectMonthYear(' + this._id + ', this, \'M\');" ' +
|
'onchange="jQuery.datepicker._selectMonthYear(' + this._id + ', this, \'M\');" ' +
|
||||||
'onclick="jQuery.datepicker._clickMonthYear(' + this._id + ');"' +
|
'onclick="jQuery.datepicker._clickMonthYear(' + this._id + ');"' +
|
||||||
(showStatus ? this._addStatus(this._get('monthStatus') || ' ') : '') + '>';
|
(showStatus ? this._addStatus(this._get('monthStatus') || ' ') : '') + '>';
|
||||||
@ -1305,7 +1305,7 @@ $.extend(DatepickerInstance.prototype, {
|
|||||||
}
|
}
|
||||||
year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
|
year = (minDate ? Math.max(year, minDate.getFullYear()) : year);
|
||||||
endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
|
endYear = (maxDate ? Math.min(endYear, maxDate.getFullYear()) : endYear);
|
||||||
html += '<select class="ui-datepicker-newYear" ' +
|
html += '<select class="ui-datepicker-new-year" ' +
|
||||||
'onchange="jQuery.datepicker._selectMonthYear(' + this._id + ', this, \'Y\');" ' +
|
'onchange="jQuery.datepicker._selectMonthYear(' + this._id + ', this, \'Y\');" ' +
|
||||||
'onclick="jQuery.datepicker._clickMonthYear(' + this._id + ');"' +
|
'onclick="jQuery.datepicker._clickMonthYear(' + this._id + ');"' +
|
||||||
(showStatus ? this._addStatus(this._get('yearStatus') || ' ') : '') + '>';
|
(showStatus ? this._addStatus(this._get('yearStatus') || ' ') : '') + '>';
|
||||||
|
Loading…
Reference in New Issue
Block a user