Fix beforeShow to return value - by kunalkumar
This commit is contained in:
parent
26776afeb2
commit
4853a89b9d
1 changed files with 1 additions and 1 deletions
2
jquery-ui-timepicker-addon.js
vendored
2
jquery-ui-timepicker-addon.js
vendored
|
@ -147,7 +147,7 @@ $.extend(Timepicker.prototype, {
|
||||||
tp_inst._defaults = $.extend({}, this._defaults, inlineSettings, o, {
|
tp_inst._defaults = $.extend({}, this._defaults, inlineSettings, o, {
|
||||||
beforeShow: function(input, dp_inst) {
|
beforeShow: function(input, dp_inst) {
|
||||||
if ($.isFunction(o.beforeShow))
|
if ($.isFunction(o.beforeShow))
|
||||||
o.beforeShow(input, dp_inst, tp_inst);
|
return o.beforeShow(input, dp_inst, tp_inst);
|
||||||
},
|
},
|
||||||
onChangeMonthYear: function(year, month, dp_inst) {
|
onChangeMonthYear: function(year, month, dp_inst) {
|
||||||
// Update the time as well : this prevents the time from disappearing from the $input field.
|
// Update the time as well : this prevents the time from disappearing from the $input field.
|
||||||
|
|
Loading…
Reference in a new issue