SAK-23772 patch from Yuki modified by Sam. Choosing "No categories" causes JavaScript error in Gradebook.


git-svn-id: https://source.sakaiproject.org/svn/gradebook/trunk@131851 66ffb92e-73f9-0310-93c1-f5514f145a0a