Roundcube Community Forum

 

Fix for spellchecker crashing Firefox in HTML mode

Started by Ythan, April 08, 2007, 04:32:49 PM

Previous topic - Next topic

Ythan

I recently upgraded to the latest SVN version. It's great, but the one thing that was really bothering me is Firefox would crash when spell-checking in HTML mode. I spent the better part of an afternoon tracking down a fix and in the end it's so simple it probably took me 15 minutes per character. ::) Anyway, you need to edit program/js/tiny_mce/plugins/spellchecker/editor_plugin.js. Find this:

tinyMCE.switchClass(editor_id+'_spellchecker','mceMenuButtonSelected');
Directly after it, add:

window.focus();
That's it! I hope it works as well for you as it did for me. :)

-Y