[cvs] commit: imp/js KeyNavList.js SpellChecker.js imp/js/src KeyNavList.js SpellChecker.js
Michael M Slusarz
slusarz at horde.org
Thu May 8 06:46:53 UTC 2008
slusarz 2008-05-08 02:46:52 EDT
Modified files:
js SpellChecker.js KeyNavList.js
js/src KeyNavList.js SpellChecker.js
Log:
Fix rather nasty bug with HTML input when a misspelled word also appears
inside a HTML tag (i.e. an e-mail address that appears in the text and also
in a "a href mailto" tag). We need to go through and remove these false
matches after the original match or else it will permanently alter the HTML
formatting.
Also, some cleanup inlcuding remove observers when done with the corresponding
objects, using insert() instead of native DOM functions (much easier to
understand code), use 'new Element' to create DOM elements instead of
createElement(), and use prototypejs's internal RegExp escaping function.
Revision Changes Path
1.10 +1 -1 imp/js/KeyNavList.js
1.43 +1 -1 imp/js/SpellChecker.js
1.11 +87 -83 imp/js/src/KeyNavList.js
1.41 +70 -77 imp/js/src/SpellChecker.js
Chora Links:
http://cvs.horde.org/diff.php/imp/js/KeyNavList.js?r1=1.9&r2=1.10&ty=u
http://cvs.horde.org/diff.php/imp/js/SpellChecker.js?r1=1.42&r2=1.43&ty=u
http://cvs.horde.org/diff.php/imp/js/src/KeyNavList.js?r1=1.10&r2=1.11&ty=u
http://cvs.horde.org/diff.php/imp/js/src/SpellChecker.js?r1=1.40&r2=1.41&ty=u
More information about the cvs
mailing list