mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: ensure date input has a date picker to trigger open (#7504)
This commit is contained in:
parent
daf347f08c
commit
10d0296721
@ -28,6 +28,9 @@
|
||||
|
||||
$('.field.date input.text').live('click', function() {
|
||||
$(this).ssDatepicker();
|
||||
$(this).datepicker('show');
|
||||
|
||||
if($(this).data('datepicker')) {
|
||||
$(this).datepicker('show');
|
||||
}
|
||||
});
|
||||
}(jQuery));
|
Loading…
Reference in New Issue
Block a user