rem: if( !txt.value ) return; 
add: if( !txt.value ) return false; 
context: function replaceAll() {	var ti = this.currentTextIndex;	var wi = this.currentWordIndex;	if( !this.wordWin ) {		alert( 'Error: Word frame not available.' );		return false;	}	var s_word_to_repl = this.wordWin.getTextVal( ti, wi );	if( !s_word_to_repl ) {		alert( 'Error: "Not in dictionary" text is missing' );		return false;	}	var txt = this.controlWin.replacementText;	if( !txt.value ) return;	var newspell = new String( txt.value );	// set this word as a "replace all" word. 	this._setWordText( ti, wi, newspell, this.replAllFlag );	// loop through all the words after this word	for( var i = ti; i < this.wordWin.textInputs.length; i++ ) {		for( var j = 0; j < this.wordWin.totalWords( i ); j++ ) {			if(( i == ti && j > wi ) || i > ti ) {				// future word: set word text to s_word_to_repl if				// 1) do not already have a flag and 				// 2) have the same value as s_word_to_repl				if(( this.wordWin.getTextVal( i, j ) == s_word_to_repl )				&& ( !this.wordFlags[i][j] )) {					this._setWordText( i, j, newspell, this.fromReplAll );				}			}		}	}		// finally, move on	this.currentWordIndex++;	this._spellcheck();}
meta: 8533	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/8533/30774da157017224af5d9a1b55d04bf21f55a840/spellChecker.js/buggy/library/src/webapp/editor/FCKeditor/editor/dialog/fck_spellerpages/spellerpages/spellChecker.js