Retake Course and Quiz button full reset of clicked states
I have been using Paul Wilson's Youtube video on creating a button that allows learners to retake not only the quiz but the entire course and the quiz as well: advanced action:
Execute JavaScript which reads: cp.resetQuizData()
Jump to Slide 1
It works great! But, now I have a course that has branching with buttons that change states once clicked, and some are disbled after being clicked as well. When the learner uses the "Retake Entire Course and Quiz" button that I created, it functions as it should, but does not reset those clicked states back to "Normal" - the grayed out buttons are grayed out and/or the ones that were set to be disabled in the advanced action are also disbled not allowing the learner to progress through the entire course again.
So my question is: is there another quick and easy way to reset all the states of the buttons back to Normal or does this have to be done by adding more lines into the advance action for that retake button, with "Execute JavaScript" and "Jump to Slide 1" at the very bottom?
Thank you in advance for any help!
Shawn
