Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
After the refactor...
// Remove the task from the UI
$("#task_<%= %>").slideUp("slow", function() {
// Reload the tasks
$("#tasks").html("<%= escape_javascript(render(:partial => 'tasks/tasks'))%>");
// Highlight the task that was rescheduled
$("#task_<%= %>").effect("highlight", {}, 1250);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment