Merge pull request #1337 from adrexia/patch-1

BUG: update deprecated 'live' jquery to 'on'
This commit is contained in:
Will Rossiter 2013-04-08 00:41:02 -07:00
commit 8e82ef186d

View File

@ -26,11 +26,11 @@
} }
}); });
$('.field.date input.text').live('click', function() { $(document).on("click", "field.date input.text,.fieldholder-small input.text.date", function() {
$(this).ssDatepicker(); $(this).ssDatepicker();
if($(this).data('datepicker')) { if($(this).data('datepicker')) {
$(this).datepicker('show'); $(this).datepicker('show');
} }
}); });
}(jQuery)); }(jQuery));