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