learning-unlimited/ESP-Website — pull request #443 by jmoldow (2012-11-07 23:37:43+00:00)
Title: Adds confirmations to remove links in studentreg

All of the remove class links in studentreg were previously direct
links to a view that immediately unenrolled the student from that
class. Many students would click these links completely by accident,
and be immediately booted from classes that would fill up instantly
before they could correct their mistake.

This code cancels the initial hyperlink redirect, pops up a
confirmation dialog box (uses jQuery UI for this), and follows the
link for real if and only if the user confirms that s/he intended
to click the remove link.