caleeli / mathmlformula

Automatically exported from code.google.com/p/mathmlformula
1 stars 0 forks source link

Tiny Toolbar not appearing in Firefix (n.getAttribute line 56 editor_plugin.js error) #56

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Using Firefox, Drupal 7, quiz module - 
2. Edit mutlichoice question and Tiny Toolbar only shows on first 'Alternative' 
text box and not the others. Flipping Filtered to Full HTML results in 
duplicate toolbars on first 'Alternative'
3. Error in Javascript console: n.getAtrribute no such function in 
editor_plugin.js line 56

I did some googling and believe this called a phantom node problem on gecko 
based browsers. Changing line 55 to this fixed the problem: 

 55                                 if(n && n.nodeType === 1){
 56                                         var id = n.getAttribute("id");

Original issue reported on code.google.com by joel.bro...@gmail.com on 30 Apr 2012 at 3:03

Attachments:

GoogleCodeExporter commented 9 years ago
merci, 

I will do the changes in the next release

Original comment by ionel.alexandru@gmail.com on 1 May 2012 at 1:30