allow chaining after $.fn.datepicker

Change-Id: I555c958de874252d62e7f67898e59107fb589bad
Reviewed-on: https://gerrit.instructure.com/5408
Tested-by: Hudson <hudson@instructure.com>
Reviewed-by: Jacob Fugal <jacob@instructure.com>
This commit is contained in:
Ryan Shaw 2011-08-25 14:54:19 -06:00
parent 6229f61c79
commit 8c76c538f2
1 changed files with 1 additions and 0 deletions

View File

@ -2519,6 +2519,7 @@ I18n.scoped('instructure', function(I18n) {
}
this.realDatepicker(options);
$(document).data('last_datepicker', this);
return this;
};
$.fn.date_field = function(options) {
options = $.extend({}, options);