Sha256: 777c35460a6b21615c756bdee5eb29a69fe9a383e11111086606a528718418b7
Contents?: true
Size: 1.25 KB
Versions: 3
Compression:
Stored size: 1.25 KB
Contents
o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1321311536.0316329 F:@value{ I"length:EFiI"digest; F"%d1ef6de8d7fe812509ea3e0e125d108aI"source; FI" $(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(); }); }); ; FI" _version; F"%0681b47e0526e51aa221d03b4948d9a5
Version data entries
3 entries across 3 versions & 1 rubygems