Skip to content

Commit

Permalink
Merge pull request #787 from phuongvh/dev
Browse files Browse the repository at this point in the history
Fix issue #762 - Unnecessary call to tp_inst_updateDateTime(dp_inst on event onChangeMonthYear
  • Loading branch information
trentrichardson committed Feb 10, 2015
2 parents 29f83c9 + ba6196c commit d9df785
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jquery-ui-timepicker-addon.js
Expand Up @@ -193,7 +193,7 @@
},
onChangeMonthYear: function (year, month, dp_inst) {
// Update the time as well : this prevents the time from disappearing from the $input field.
tp_inst._updateDateTime(dp_inst);
// tp_inst._updateDateTime(dp_inst);
if ($.isFunction(tp_inst._defaults.evnts.onChangeMonthYear)) {
tp_inst._defaults.evnts.onChangeMonthYear.call($input[0], year, month, dp_inst, tp_inst);
}
Expand Down

0 comments on commit d9df785

Please sign in to comment.