Skip to content
Permalink
Browse files

Fixed 3266. Datepicker is displayed when using "setDate" and "change"…

… methods
  • Loading branch information...
Keith Wood
Keith Wood committed Sep 20, 2008
1 parent e51f567 commit aced92a6b483c1f6aed03e31c3df802fe42c319f
Showing with 1 addition and 1 deletion.
  1. +1 −1 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();
},

0 comments on commit aced92a

Please sign in to comment.
You can’t perform that action at this time.