diff options
author | Keith Wood <kbwood.au@gmail.com> | 2008-09-20 06:26:38 +0000 |
---|---|---|
committer | Keith Wood <kbwood.au@gmail.com> | 2008-09-20 06:26:38 +0000 |
commit | aced92a6b483c1f6aed03e31c3df802fe42c319f (patch) | |
tree | ebcda61f90c515e455ec27a3cac447548493ad08 /ui/ui.datepicker.js | |
parent | e51f56714b715790b63b68bb73066b264b5ffcb4 (diff) | |
download | jquery-ui-aced92a6b483c1f6aed03e31c3df802fe42c319f.tar.gz jquery-ui-aced92a6b483c1f6aed03e31c3df802fe42c319f.zip |
Fixed 3266. Datepicker is displayed when using "setDate" and "change" methods
Diffstat (limited to 'ui/ui.datepicker.js')
-rw-r--r-- | ui/ui.datepicker.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.datepicker.js b/ui/ui.datepicker.js index abb778a83..70da2e560 100644 --- a/ui/ui.datepicker.js +++ b/ui/ui.datepicker.js @@ -599,7 +599,7 @@ $.extend(Datepicker.prototype, { 'Class']('ui-datepicker-multi'); inst.dpDiv[(this._get(inst, 'isRTL') ? 'add' : 'remove') + 'Class']('ui-datepicker-rtl'); - if (inst.input && inst.input[0].type != 'hidden') + if (inst.input && inst.input[0].type != 'hidden' && inst == $.datepicker._curInst) $(inst.input[0]).focus(); }, |