From a4d54b4d7782fbf3483bbfdf92627c34cf97eb46 Mon Sep 17 00:00:00 2001 From: Scott González Date: Mon, 22 Nov 2010 11:40:11 -0500 Subject: Datepicker: Don't use ui-helper-hidden-accessible for initial hiding. --- ui/jquery.ui.datepicker.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/jquery.ui.datepicker.js b/ui/jquery.ui.datepicker.js index 739db1007..4ba478903 100644 --- a/ui/jquery.ui.datepicker.js +++ b/ui/jquery.ui.datepicker.js @@ -107,7 +107,7 @@ function Datepicker() { autoSize: false // True to size the input for the date format, false to leave as is }; $.extend(this._defaults, this.regional['']); - this.dpDiv = $('
'); + this.dpDiv = $('
'); } $.extend(Datepicker.prototype, { @@ -272,6 +272,7 @@ $.extend(Datepicker.prototype, { this._setDate(inst, this._getDefaultDate(inst), true); this._updateDatepicker(inst); this._updateAlternate(inst); + inst.dpDiv.show(); }, /* Pop-up the date picker in a "dialog" box. -- cgit v1.2.3