mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Fixed 3266. Datepicker is displayed when using "setDate" and "change" methods
This commit is contained in:
parent
e51f56714b
commit
aced92a6b4
@ -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();
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user