mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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:
commit
8e1aae35de
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
// Initialize and open a datepicker
|
// 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.
|
// 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);
|
$(this).datepicker(config);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user