spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 in medivo-0.2.14 vs spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 in medivo-0.2.15
- old
+ new
@@ -1,8 +1,8 @@
-o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1321397842.7730639 yá:@value{ I"length:EFi[…I"digest;
-F"%cefe993ca17524ae0278c0c5a2922210I"source;
-FI"[…/*!
+o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1320379200:@value{ I"length:EFiX…I"digest;
+F"%4d4fa6e5824cbf93af352469cbaa2ee0I"source;
+FI"X…/*!
* jQuery JavaScript Library v1.7
* http://jquery.com/
*
* Copyright 2011, John Resig
* Dual licensed under the MIT or GPL Version 2 licenses.
@@ -12693,11 +12693,12 @@
form = $(this);
return Appointment.SuccessHandler(form, event, data);
}).bind('ajax:complete', function(event, data) {
var form;
form = $(this);
- return $('.appointment_spinner_elem').hide();
+ $('.appointment_spinner_elem').hide();
+ return form.find('#find_appointments').prop("disabled", false);
}).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);
@@ -12722,16 +12723,15 @@
return true;
}
};
Appointment.SuccessHandler = function(form, event, data) {
if (data.times.length === 0) {
- Appointment.ErrorHandler($(this), 200, "No times available for that date");
+ Appointment.ErrorHandler(form, 200, "No times available for that date");
return;
}
window.appointment_list.setList(data.times);
- $('input:radio[name=appointment_time]:first').prop('checked', true);
- return form.find('#find_appointments').prop("disabled", false);
+ return $('input:radio[name=appointment_time]:first').prop('checked', true);
};
Appointment.ErrorHandler = function(form, status, message) {
var span;
if (message.match(/Connection refused/i)) {
message = "Unable to make appointments at this time. Try walk-in instead";
@@ -12760,6 +12760,6 @@
// the compiled file.
//
;
;
TI"
_version;
-F"%99d846f2419dc62dc8606b39387006fb
+F"%4b6fe44f65084bc27cfe961184569178
\ No newline at end of file