Return jquery object at the end of initialization

This commit is contained in:
Trent Richardson 2010-10-21 07:52:23 -04:00
parent 66b95d8bdc
commit a9dff8466d

View file

@ -564,7 +564,7 @@
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')
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]);
};
//########################################################################