aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Grabanski <m@marcgrabanski.com>2008-09-28 16:20:11 +0000
committerMarc Grabanski <m@marcgrabanski.com>2008-09-28 16:20:11 +0000
commitc1deb3508bf0e54c5afe28d356bf6a6dfce5c372 (patch)
treecb71e3b640658790ae18895d369f79ce7b6569b7
parentc0f4c0f8efbe517737fff47ab563fce03a135334 (diff)
downloadjquery-ui-c1deb3508bf0e54c5afe28d356bf6a6dfce5c372.tar.gz
jquery-ui-c1deb3508bf0e54c5afe28d356bf6a6dfce5c372.zip
Datepicker: Created "option" method, deprecated "change" method.
-rw-r--r--ui/ui.datepicker.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js
index 70da2e560..32aef0721 100644
--- a/ui/ui.datepicker.js
+++ b/ui/ui.datepicker.js
@@ -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) {