mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-30 10:18:12 -05:00
Datepicker: Created "option" method, deprecated "change" method.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user