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

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320434831.3743241ôí: @value{ I" length:EFiçTI" digest; -F"%b2bffe918878ab60f0d860b4311af8a2I" source; -FI"çT/*! +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320436581.128153œ: @value{ I" length:EFiUI" digest; +F"%7de05fe9657c2c9a809d0e388125dcd6I" source; +FI"U/*! * jQuery JavaScript Library v1.6.4 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. @@ -12380,23 +12380,26 @@ return AppointmentListView; })(); }).call(this); (function() { $(document).ready(function() { - $('input:radio[name=appointment_time]:checked').val(); + $("#find_appointments").bind('click', function() { + var lab_code, selected_lab; + selected_lab = $('#lab_list_container input:radio:checked'); + lab_code = $('#lab_list_container input:radio:checked').parent('li').find('form input#lab_code').val(); + return $("form#appointment_data_search input#lab_code").val(lab_code); + }); $("form#appointment_data_search").bind('ajax:beforeSend', function(event, data) { - var date, form, lab_code, messages, selected_lab, span, valid_date; + var date, form, messages, span, valid_date; + alert(2); form = $(this); messages = []; date = form.find('input#appointment_date').val(); valid_date = Date.parseExact(date, "M/d/yyyy"); if (!valid_date) { messages.push("Date is invalid, must be mm/dd/yyyy format"); } - selected_lab = $('#lab_list_container input:radio:checked'); - lab_code = $('#lab_list_container input:radio:checked').parent('li').find('form > input#lab_code').val(); - form.find('input#lab_code').val(lab_code); if (!lab_code) { messages.push("Labcode is missing"); } if (messages.length > 0) { span = $("<span>" + (messages.join("<br>")) + "</span>"); @@ -12410,11 +12413,11 @@ return $('form#appointment_data_search input[type=submit]').prop("disabled", false); }).bind('ajax:complete', function(event, data) {}); return $("#more_appointments_list_toggler").live("click", function() { window.appointment_list.setShowNumber(window.max_appointment_show_number); $('input:radio[name=appointment_time]:first').prop('checked', true); - return $("#more_appointments_list_toggler").parent('p').hide(); + return $("#more_appointments_list_toggler").hide(); }); }); }).call(this); (function() { $(document).ready(function() { @@ -12432,6 +12435,6 @@ // the compiled file. // ; ; FI" _version; -F"%d929588548f42b6d133b39b16e77d761 +F"%3a66ac427119892a05d2670d0970d60b \ No newline at end of file