Fixed altField option

This commit is contained in:
Trent Richardson 2010-11-16 10:31:46 -05:00
parent ddc0a6af27
commit 3a6666bb9e

View file

@ -508,7 +508,7 @@ $.fn.extend({
tp_inst.ampm = '';
tp_inst.$input = $(input);
if (o.altField) {
tp_inst.$altinput = $($.datepicker._get(dp_inst, 'altField'))
tp_inst.$altInput = $($.datepicker._get(dp_inst, 'altField'))
.css({ cursor: 'pointer' })
.focus(function(){
$input.trigger("focus");