mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Datepicker: Created "option" method, deprecated "change" method.
This commit is contained in:
parent
c0f4c0f8ef
commit
c1deb3508b
@ -405,7 +405,7 @@ $.extend(Datepicker.prototype, {
|
||||
@param name object - the new settings to update or
|
||||
string - the name of the setting to change or
|
||||
@param value any - the new value for the setting (omit if above is an object) */
|
||||
_changeDatepicker: function(target, name, value) {
|
||||
_optionDatepicker: function(target, name, value) {
|
||||
var settings = name || {};
|
||||
if (typeof name == 'string') {
|
||||
settings = {};
|
||||
@ -429,6 +429,9 @@ $.extend(Datepicker.prototype, {
|
||||
}
|
||||
},
|
||||
|
||||
// change method deprecated
|
||||
_changeDatepicker: this._optionDatepicker,
|
||||
|
||||
/* Redraw the date picker attached to an input field or division.
|
||||
@param target element - the target input field or division or span */
|
||||
_refreshDatepicker: function(target) {
|
||||
|
Loading…
Reference in New Issue
Block a user