mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-29 06:58:03 -05:00
Fixed 3266. Datepicker is displayed when using "setDate" and "change" methods
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user