Sha256: eaa9208dfbdbba71df367248935f2800edca9a0e0ceda9941d578dddf26573b2
Contents?: true
Size: 688 Bytes
Versions: 2
Compression:
Stored size: 688 Bytes
Contents
<%# encoding: utf-8 %> <%= ActiveScaffold::Bridges[:date_picker].localization %> jQuery(document).on("focus", "input.date_picker", function(){ var date_picker = jQuery(this); if (typeof(date_picker.datepicker) == 'function') { if (!date_picker.hasClass('hasDatepicker')) { date_picker.datepicker(); date_picker.trigger('focus'); } } return true; }); jQuery(document).on("focus", "input.datetime_picker", function(){ var date_picker = jQuery(this); if (typeof(date_picker.datetimepicker) == 'function') { if (!date_picker.hasClass('hasDatepicker')) { date_picker.datetimepicker(); date_picker.trigger('focus'); } } return true; });
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active_scaffold-3.3.0 | app/assets/javascripts/jquery/date_picker_bridge.js.erb |
active_scaffold-3.3.0.rc3 | app/assets/javascripts/jquery/date_picker_bridge.js.erb |