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

- old
+ new

@@ -1,8 +1,8 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320436581.128153œ: @value{ I" length:EFiUI" digest; -F"%7de05fe9657c2c9a809d0e388125dcd6I" source; -FI"U/*! +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320436797.76266Ïl: @value{ I" length:EFiAUI" digest; +F"%1856d9e1f7f7f560c1029fc978a72af2I" source; +FI"AU/*! * jQuery JavaScript Library v1.6.4 * http://jquery.com/ * * Copyright 2011, John Resig * Dual licensed under the MIT or GPL Version 2 licenses. @@ -12387,19 +12387,19 @@ 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, messages, span, valid_date; - alert(2); + var date, form, lab_code, messages, span, valid_date; 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"); } + lab_code = form.find('input#lab_code').val(); if (!lab_code) { messages.push("Labcode is missing"); } if (messages.length > 0) { span = $("<span>" + (messages.join("<br>")) + "</span>"); @@ -12435,6 +12435,6 @@ // the compiled file. // ; ; FI" _version; -F"%3a66ac427119892a05d2670d0970d60b +F"%1d8d4d4beb02ec297ba8d630271903cd \ No newline at end of file