Fixed altField option
This commit is contained in:
parent
ddc0a6af27
commit
3a6666bb9e
10
jquery-ui-timepicker-addon.js
vendored
10
jquery-ui-timepicker-addon.js
vendored
|
@ -508,11 +508,11 @@ $.fn.extend({
|
||||||
tp_inst.ampm = '';
|
tp_inst.ampm = '';
|
||||||
tp_inst.$input = $(input);
|
tp_inst.$input = $(input);
|
||||||
if (o.altField) {
|
if (o.altField) {
|
||||||
tp_inst.$altinput = $($.datepicker._get(dp_inst, 'altField'))
|
tp_inst.$altInput = $($.datepicker._get(dp_inst, 'altField'))
|
||||||
.css({ cursor: 'pointer' })
|
.css({ cursor: 'pointer' })
|
||||||
.focus(function(){
|
.focus(function(){
|
||||||
$input.trigger("focus");
|
$input.trigger("focus");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
tp_inst.inst = dp_inst;
|
tp_inst.inst = dp_inst;
|
||||||
tp_inst._addTimePicker();
|
tp_inst._addTimePicker();
|
||||||
|
|
Loading…
Reference in a new issue