Roundcube Community Forum

SVN Releases => Issues & Bugs => Topic started by: Ythan on April 08, 2007, 04:32:49 PM

Title: Fix for spellchecker crashing Firefox in HTML mode
Post by: Ythan on April 08, 2007, 04:32:49 PM
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 (http://trac.roundcube.net/trac.cgi/ticket/1484080). 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:

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

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

-Y