$('#tooltip').remove();
$('#<%= @shift.start.strftime("%Y-%m-%d") %>').html(
	'<%= escape_javascript render partial: 
	(params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"), 
	object: @shift.start.to_date %>');

// TODO: Figure out how to make this work in jQuery
// page["#shift#{@shift.id}"].visual_effect :highlight

initialize('##{@shift.start.strftime("%Y-%m-%d")}');

// display alert
//alert("shift updated");

$('#tooltip').remove();
$('#<%= @shift.start.strftime("%Y-%m-%d") %>').html(
	'<%= escape_javascript render partial: 
	(params[:calendar] ? "calendars/schedule/day" : "shifts/schedule/day"), 
	object: @shift.start.to_date %>');

// TODO: Figure out how to make this work in jQuery
// page["#shift#{@shift.id}"].visual_effect :highlight

initialize('#<%= @shift.start.strftime("%Y-%m-%d") %>');

// display alert
//alert("shift updated");

Fix enabling tooltip after editing
Fix enabling tooltip after editing
