Return jquery object at the end of initialization
This commit is contained in:
parent
66b95d8bdc
commit
a9dff8466d
4
jquery-ui-timepicker-addon.js
vendored
4
jquery-ui-timepicker-addon.js
vendored
|
@ -564,7 +564,7 @@
|
||||||
timepicker: tp // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
|
timepicker: tp // add timepicker as a property of datepicker: $.datepicker._get(dp_inst, 'timepicker');
|
||||||
});
|
});
|
||||||
|
|
||||||
$(this).datepicker(tp.defaults);
|
return $(this).datepicker(tp.defaults);
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -575,7 +575,7 @@
|
||||||
if(typeof opts == 'object')
|
if(typeof opts == 'object')
|
||||||
opts = $.extend(opts, { timeOnly: true });
|
opts = $.extend(opts, { timeOnly: true });
|
||||||
|
|
||||||
$(this).datetimepicker(opts, arguments[1], arguments[2], arguments[3], arguments[4]);
|
return $(this).datetimepicker(opts, arguments[1], arguments[2], arguments[3], arguments[4]);
|
||||||
};
|
};
|
||||||
|
|
||||||
//########################################################################
|
//########################################################################
|
||||||
|
|
Loading…
Reference in a new issue