Sha256: fc5a59c6d34833a5080cd5a986bddd725c908bd5920f20942c8cccea6c79edbb

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

o: ActiveSupport::Cache::Entry	:@compressedF:@expires_in0:@created_atf1321032518.3526452‘½:@value{	I"length:EFi(I"digest;
F"%c1aa4f315828b4a6353b5e816f5469f8I"source;
FI"((function() {
  $(document).ready(function() {
    $("form#lab_data_search").bind('ajax:beforeSend', function(event, data) {
      var span, zip_code;
      zip_code = $(this).find('#zip_code').val();
      if (!zip_code.match(/\d{5}/)) {
        span = $('<span>Zip code should be 5 digits</span>');
        $('form#lab_data_search .error_message').append(span);
        span.fadeOut(4000);
        return false;
      }
    }).bind('ajax:success', function(event, data) {
      window.map_view.center_point = data.zip_location;
      window.lab_list.setList(data.labs);
      $('input:radio[name=selected_lab]:first').prop('checked', true);
      return $('form#lab_data_search input[type=submit]').prop("disabled", false);
    }).bind('ajax:complete', function(event, data) {});
    return $("#more_labs_list_toggler").live("click", function() {
      window.lab_list.setShowNumber(window.max_lab_show_number);
      $('input:radio[name=selected_lab]:first').prop('checked', true);
      return $("#more_labs_list_toggler").hide();
    });
  });
}).call(this);
;
FI"
_version;
F"%ba5effd0542150ee7258a12ec4167186

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
medivo-0.2.7 spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29
medivo-0.2.6 spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29
medivo-0.2.5 spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29
medivo-0.2.3 spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29