Merge pull request #428 from silverstripe-scienceninjas/datefield-calendar

BUGFIX: DateField with calender do not format the date correctly after it's picked from the calendar.
This commit is contained in:
Ingo Schommer 2012-05-10 02:17:52 -07:00
commit 8e1aae35de

View File

@ -20,7 +20,7 @@
// Initialize and open a datepicker
// live() doesn't have "onmatch", and jQuery.entwine is a bit too heavyweight for this, so we need to do this onclick.
config.dateFormat = config.jqueryDateformat;
config.dateFormat = config.jquerydateformat;
$(this).datepicker(config);
});
}