General developer forum

 
 
Frankie's the name, Moodle's my game!
Re: I got Marginalia forum annotation tool working for Moodle 2.5+ site, BUT...
Group Particularly helpful Moodlers

Hi Jamie

You are a genius! I took your tip, installed Firebug 1.11.4 on my Firefox 17.0. When I got to the forum screen with the Marginalia annotations, I turned on the Firebug console with F12 and clicked on the Error tab. Sure enough something showed up:

TypeError: margin.mouseleave is not a function.

Hmm....! mouseleave? I know mouseover, but mouseleave? So I Googled around.
Apparantly, according to http://help.dottoro.com/ljewsllu.php,
mouseleave() works only on Internet Explorer!
But I am using Chrome. Which kinda explains the problems.

I then decided to prototype/experiment my way out of this problem and proceeded to change line 189 of 
file MoodleMarginalia.js from:
margin.mouseleave( function() { margin.removeClass( 'hover' ); } );

to
margin.mouseout( function() { margin.removeClass( 'hover' ); } );

Eureka. it works. Now both the HTMLeditor and File Manager load properly. 

Thanks!
Frankie Kam

 

 
Average of ratings: -
Picture of Jamie Pratt
Re: I got Marginalia forum annotation tool working for Moodle 2.5+ site, BUT...
Group DevelopersGroup Documentation writers

Nice work Frankie!

 
Average of ratings: -
Frankie's the name, Moodle's my game!
Re: I got Marginalia forum annotation tool working for Moodle 2.5+ site, BUT...
Group Particularly helpful Moodlers

For those who want to see it in 'action' on my Moodle 2.5.x site.

Cheers! Frankie Kam, Malaysia.

 
Average of ratings: -
Frankie's the name, Moodle's my game!
Re: I got Marginalia forum annotation tool working for Moodle 2.5+ site, BUT...
Group Particularly helpful Moodlers

For those who want to see it in 'action' on my Moodle 2.5.x site.

Cheers! Frankie Kam, Malaysia.

 
Average of ratings: -