Sha256: beaecb376d70b64d1a7cd5a65919ec8bfaa1e28f30b5b762c4a6dcc5e4e1fa9b
Contents?: true
Size: 716 Bytes
Versions: 14
Compression:
Stored size: 716 Bytes
Contents
<%= ActiveScaffold::Bridges[:date_picker].localization %> $(document).ready(function() { $('input.date_picker').live('focus', function(event) { var date_picker = $(this); if (typeof(date_picker.datepicker) == 'function') { if (!date_picker.hasClass('hasDatepicker')) { date_picker.datepicker(); date_picker.trigger('focus'); } } return true; }); $('input.datetime_picker').live('focus', function(event) { var date_picker = $(this); if (typeof(date_picker.datetimepicker) == 'function') { if (!date_picker.hasClass('hasDatepicker')) { date_picker.datetimepicker(); date_picker.trigger('focus'); } } return true; }); });
Version data entries
14 entries across 14 versions & 1 rubygems