Sha256: 0791148d36e4bba651a69e36ce4c0344adbf78f53375bd6958c8be4580ce6932
Contents?: true
Size: 656 Bytes
Versions: 34
Compression:
Stored size: 656 Bytes
Contents
$(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
34 entries across 34 versions & 4 rubygems