mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Fix datefield to work with other form markup
Changed onClick selector to catch any date field, so it will work with "nonstandard" form markups like adding new lines from https://github.com/silverstripe-australia/silverstripe-gridfieldextensions
This commit is contained in:
parent
09210efbc0
commit
053c47499e
@ -26,7 +26,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", ".field.date input.text,.fieldholder-small input.text.date", function() {
|
||||
$(document).on("click", "input.text.date", function() {
|
||||
$(this).ssDatepicker();
|
||||
|
||||
if($(this).data('datepicker')) {
|
||||
|
Loading…
Reference in New Issue
Block a user