spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 in medivo-0.2.10 vs spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 in medivo-0.2.11

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1321313798.192642T?: @value{ I" length:EFiÚ‚I" digest; -F"%2aa9fc0fe4406c01227547ba7db7010cI" source; -FI"Ú‚/*! +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1321373082.6581912Î: @value{ I" length:EFiFƒI" digest; +F"%8f59caa50e0beb7539757b8cb538bae7I" source; +FI"Fƒ/*! * jQuery JavaScript Library v1.7 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. @@ -11491,18 +11491,21 @@ 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; + false; } + return $('.lab_search_spinner_elem').show(); }).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) {}); + }).bind('ajax:complete', function(event, data) { + return $('.lab_search_spinner_elem').hide(); + }); 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(); }); @@ -12676,11 +12679,11 @@ form = $(this); return Appointment.SuccessHandler(form, event, data); }).bind('ajax:complete', function(event, data) { var form; form = $(this); - return form.find('.spinner_elem').hide(); + return $('.appointment_spinner_elem').hide(); }).bind('ajax:error', function(xhr, status, error) { var form, response; form = $(this); response = JSON.parse(status.responseText); return Appointment.ErrorHandler(form, status.status, response.message); @@ -12697,11 +12700,11 @@ span = $("<span>" + (messages.join("<br>")) + "</span>"); form.find('.error_message').append(span); span.fadeOut(4000); false; } - return form.find('.spinner_elem').show(); + return $('.appointment_spinner_elem').show(); }; Appointment.SuccessHandler = function(form, event, data) { if (data.times.length === 0) { Appointment.ErrorHandler($(this), 200, "No times available for that date"); return; @@ -12740,6 +12743,6 @@ // the compiled file. // ; ; TI" _version; -F"%dad371338a4d6b28df6bb2215aabce13 +F"%b78f5f9425444b73e9ee339bb322da7f \ No newline at end of file