learning-unlimited/ESP-Website — pull request #203 by pteromys (2011-12-15 04:35:36+00:00)
Title: AJAX scheduling: error messages and teacher availability

This builds (directly) on top of pull request #200, adding two more fixes:

1. If an operation fails, show an error message in the status bar and don't update the grid. (fd1fc747115e83b49660ec46e396a8bd8a2e9498, and related to #96)
2. Add a server-side check to prevent teachers from being double-booked. (2234c54b4362c981b9b8044efa463ff7e7f3db5e; since it's server-side and shouldn't be too heavily affected by an in-jquery rewrite, I've included tests in 599574e4ae1dd0af5858322f0764da373eac44f9)

As these weren't in the SR1 milestone, I'd say punt this if we're low on time and need to focus on merging the other pull requests. That said, I'm filing this anyway in case we do have the time, because I do think these would be nice fixes to have the next time the AJAX scheduler is used.