Raphael bug

aotu
Hi, I experienced a bug on the 'Lesson completed', 'quiz summary' view when the quiz uses the 'quiz_ddlines_ module. The bug is caused due to 'quiz_ddlines.js' being loaded before 'quiz_ddlines/js/Raphael.js' has been initialised. I've made a small change to the module as a temporary workaround: quiz_ddlines.module: 177 drupal_add_js($module_path.'/js/raphael.js'); 177--> drupal_add_js($module_path.'/js/raphael.js',array("weight"=>-1)); Not the best practice, but it'll do the job for anyone stuck in the mean time Cheers,
Profile picture for user James Aparicio
James Aparicio

Hi aotu,

Hi aotu,

Thank you for the information.

Best regards