r753 - trunk/ui
r753 - trunk/ui
Author: grabanski
Date: Sun Sep 28 09:20:11 2008
New Revision: 753
Modified:
trunk/ui/ui.datepicker.js
Log:
Datepicker: Created "option" method, deprecated "change" method.
Modified: trunk/ui/ui.datepicker.js
==============================================================================
--- trunk/ui/ui.datepicker.js (original)
+++ trunk/ui/ui.datepicker.js Sun Sep 28 09:20:11 2008
@@ -405,7 +405,7 @@
@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 = {};
@@ -428,6 +428,9 @@
this._updateDatepicker(inst);
}
},
+
+ // 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 */