AnsweredAssumed Answered

New UI and js/css breakage

Question asked by Andy Fisher on Jun 24, 2015
Latest reply on May 22, 2017 by Peter Hanley

I'm trying to keep track of the new UI and what needs to change in our js file.  So far it looks like the course enrollment role detection is broken.  It's no longer listed in the Nav menu.  This was the old js code that we found somewhere.


function isRole(srole){

if (jQuery("[data-id = " + +"]").children().children("span.subtitle").not("span.enrollment_term").text() == "Enrolled as: " + srole)


return true;




return false;




Did someone find it elsewhere?  It doesn't look like it's in ENV either.


Has anyone found any other problem areas?