mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUG: update deprecated 'live' jquery to 'on'
'live' has been deprecated since jquery v 1.7.0, and has been removed in the latest 2 versions of jquery
This commit is contained in:
parent
600d9cff53
commit
19a8545076
@ -26,7 +26,7 @@
|
||||
}
|
||||
});
|
||||
|
||||
$('.field.date input.text').live('click', function() {
|
||||
$(document).on("click", "field.date input.text,.fieldholder-small input.text.date", function() {
|
||||
$(this).ssDatepicker();
|
||||
|
||||
if($(this).data('datepicker')) {
|
||||
|
Loading…
Reference in New Issue
Block a user