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


git-svn-id: 544c358cc09106d3ca69bf3799573b8ef390fbe0@131851 66ffb92e-73f9-0310-93c1-f5514f145a0a

ouit0408/sakai,pushyamig/sakai,conder/sakai,pushyamig/sakai,lorenamgUMU/sakai,introp-software/sakai,liubo404/sakai,bzhouduke123/sakai,willkara/sakai,frasese/sakai,buckett/sakai-gitflow,bkirschn/sakai,puramshetty/sakai,rodriguezdevera/sakai,bkirschn/sakai,duke-compsci290-spring2016/sakai,zqian/sakai,rodriguezdevera/sakai,pushyamig/sakai,lorenamgUMU/sakai,bkirschn/sakai,rodriguezdevera/sakai,udayg/sakai,bkirschn/sakai,puramshetty/sakai,udayg/sakai,duke-compsci290-spring2016/sakai,kingmook/sakai,noondaysun/sakai,whumph/sakai,Fudan-University/sakai,colczr/sakai,colczr/sakai,whumph/sakai,ouit0408/sakai,joserabal/sakai,kwedoff1/sakai,frasese/sakai,ktakacs/sakai,liubo404/sakai,rodriguezdevera/sakai,liubo404/sakai,bzhouduke123/sakai,clhedrick/sakai,wfuedu/sakai,buckett/sakai-gitflow,conder/sakai,bkirschn/sakai,kingmook/sakai,bzhouduke123/sakai,hackbuteer59/sakai,bkirschn/sakai,puramshetty/sakai,wfuedu/sakai,frasese/sakai,colczr/sakai,noondaysun/sakai,buckett/sakai-gitflow,kwedoff1/sakai,puramshetty/sakai,whumph/sakai,ktakacs/sakai,kwedoff1/sakai,wfuedu/sakai,zqian/sakai,whumph/sakai,OpenCollabZA/sakai,Fudan-University/sakai,duke-compsci290-spring2016/sakai,conder/sakai,joserabal/sakai,frasese/sakai,buckett/sakai-gitflow,noondaysun/sakai,udayg/sakai,bkirschn/sakai,puramshetty/sakai,kingmook/sakai,buckett/sakai-gitflow,kingmook/sakai,ktakacs/sakai,frasese/sakai,tl-its-umich-edu/sakai,wfuedu/sakai,lorenamgUMU/sakai,kwedoff1/sakai,conder/sakai,kingmook/sakai,tl-its-umich-edu/sakai,willkara/sakai,lorenamgUMU/sakai,joserabal/sakai,whumph/sakai,surya-janani/sakai,lorenamgUMU/sakai,OpenCollabZA/sakai,hackbuteer59/sakai,liubo404/sakai,hackbuteer59/sakai,liubo404/sakai,willkara/sakai,OpenCollabZA/sakai,noondaysun/sakai,colczr/sakai,wfuedu/sakai,whumph/sakai,tl-its-umich-edu/sakai,hackbuteer59/sakai,pushyamig/sakai,Fudan-University/sakai,kingmook/sakai,joserabal/sakai,Fudan-University/sakai,ktakacs/sakai,tl-its-umich-edu/sakai,tl-its-umich-edu/sakai,ouit0408/sakai,udayg/sakai,hackbuteer59/sakai,introp-software/sakai,introp-software/sakai,OpenCollabZA/sakai,pushyamig/sakai,zqian/sakai,frasese/sakai,introp-software/sakai,wfuedu/sakai,hackbuteer59/sakai,buckett/sakai-gitflow,rodriguezdevera/sakai,tl-its-umich-edu/sakai,ouit0408/sakai,bzhouduke123/sakai,kwedoff1/sakai,colczr/sakai,rodriguezdevera/sakai,Fudan-University/sakai,surya-janani/sakai,conder/sakai,pushyamig/sakai,zqian/sakai,joserabal/sakai,rodriguezdevera/sakai,OpenCollabZA/sakai,willkara/sakai,ouit0408/sakai,joserabal/sakai,conder/sakai,zqian/sakai,willkara/sakai,noondaysun/sakai,duke-compsci290-spring2016/sakai,introp-software/sakai,lorenamgUMU/sakai,kwedoff1/sakai,ktakacs/sakai,conder/sakai,clhedrick/sakai,bzhouduke123/sakai,OpenCollabZA/sakai,ouit0408/sakai,wfuedu/sakai,wfuedu/sakai,frasese/sakai,Fudan-University/sakai,udayg/sakai,clhedrick/sakai,surya-janani/sakai,udayg/sakai,conder/sakai,noondaysun/sakai,duke-compsci290-spring2016/sakai,colczr/sakai,udayg/sakai,kwedoff1/sakai,puramshetty/sakai,OpenCollabZA/sakai,Fudan-University/sakai,noondaysun/sakai,surya-janani/sakai,udayg/sakai,clhedrick/sakai,introp-software/sakai,buckett/sakai-gitflow,OpenCollabZA/sakai,zqian/sakai,bzhouduke123/sakai,bzhouduke123/sakai,introp-software/sakai,ouit0408/sakai,colczr/sakai,rodriguezdevera/sakai,clhedrick/sakai,hackbuteer59/sakai,ktakacs/sakai,hackbuteer59/sakai,willkara/sakai,bkirschn/sakai,ouit0408/sakai,puramshetty/sakai,puramshetty/sakai,kingmook/sakai,surya-janani/sakai,surya-janani/sakai,duke-compsci290-spring2016/sakai,willkara/sakai,joserabal/sakai,whumph/sakai,ktakacs/sakai,introp-software/sakai,colczr/sakai,liubo404/sakai,clhedrick/sakai,surya-janani/sakai,pushyamig/sakai,liubo404/sakai,surya-janani/sakai,clhedrick/sakai,lorenamgUMU/sakai,bzhouduke123/sakai,buckett/sakai-gitflow,whumph/sakai,duke-compsci290-spring2016/sakai,lorenamgUMU/sakai,zqian/sakai,liubo404/sakai,Fudan-University/sakai,joserabal/sakai,duke-compsci290-spring2016/sakai,tl-its-umich-edu/sakai,tl-its-umich-edu/sakai,noondaysun/sakai,willkara/sakai,ktakacs/sakai,zqian/sakai,kingmook/sakai,frasese/sakai,kwedoff1/sakai,pushyamig/sakai,clhedrick/sakai