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

Version Path
active_scaffold-3.1.17 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.15 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.14 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.13 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.12 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.11 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.10 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.9 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.8 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.7 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.6 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.5 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.4 app/assets/javascripts/jquery/date_picker_bridge.js.erb
active_scaffold-3.1.3 app/assets/javascripts/jquery/date_picker_bridge.js.erb