comparison wiki/htdocs/applets/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/spellchecker.html @ 3949:645324d706e2

update current fckeditor(v2.0) to recent version of it(v2.6)
author Byeongweon [tasyblue@gmail.com]
date Thu, 29 May 2008 16:22:22 +0900
parents 77665d8e2254
children
comparison
equal deleted inserted replaced
3642:a54a08994dcb 3949:645324d706e2
24 24
25 // encodeForPost 25 // encodeForPost
26 function encodeForPost( str ) { 26 function encodeForPost( str ) {
27 var s = new String( str ); 27 var s = new String( str );
28 s = encodeURIComponent( s ); 28 s = encodeURIComponent( s );
29 // additionally encode single quotes to evade any PHP 29 // additionally encode single quotes to evade any PHP
30 // magic_quotes_gpc setting (it inserts escape characters and 30 // magic_quotes_gpc setting (it inserts escape characters and
31 // therefore skews the btye positions of misspelled words) 31 // therefore skews the btye positions of misspelled words)
32 return s.replace( /\'/g, '%27' ); 32 return s.replace( /\'/g, '%27' );
33 } 33 }
34 34
35 // post the text area data to the script that populates the speller 35 // post the text area data to the script that populates the speller