public/ckeditor/4.4dev/plugins/find/dialogs/find.js
function syncFieldsBetweenTabs( currentPageId ) {
		var sourceIndex, targetIndex, sourceField, targetField;

		sourceIndex = currentPageId === 'find' ? 1 : 0;
		targetIndex = 1 - sourceIndex;
		var i,
			l = fieldsMapping.length;
		for ( i = 0; i < l; i++ ) {
			sourceField = this.getContentElement( pages[ sourceIndex ], fieldsMapping[ i ][ sourceIndex ] );
			targetField = this.getContentElement( pages[ targetIndex ], fieldsMapping[ i ][ targetIndex ] );

			targetField.setValue( sourceField.getValue() );
		}
	}
function syncFieldsBetweenTabs( currentPageId ) {
		var sourceIndex, targetIndex, sourceField, targetField;

		sourceIndex = currentPageId === 'find' ? 1 : 0;
		targetIndex = 1 - sourceIndex;
		var i,
			l = fieldsMapping.length;
		for ( i = 0; i < l; i++ ) {
			sourceField = this.getContentElement( pages[ sourceIndex ], fieldsMapping[ i ][ sourceIndex ] );
			targetField = this.getContentElement( pages[ targetIndex ], fieldsMapping[ i ][ targetIndex ] );

			targetField.setValue( sourceField.getValue() );
		}
	}
function syncFieldsBetweenTabs ( currentPageId ) { var sourceIndex , targetIndex , sourceField , targetField ; sourceIndex = currentPageId === 'find' ? 1 : 0 ; targetIndex = 1 - sourceIndex ; var i , l = fieldsMapping . length ; for ( i = 0 ; i < l ; i ++ ) { sourceField = this . getContentElement ( pages [ sourceIndex ] , fieldsMapping [ i ] [ sourceIndex ] ) ; targetField = this . getContentElement ( pages [ targetIndex ] , fieldsMapping [ i ] [ targetIndex ] ) ; targetField . setValue ( sourceField . getValue ( ) ) ; } }
Synchronize corresponding filed values between 'replace' and 'find' pages. @param {String} currentPageId	The page id which receive values.
Synchronize corresponding filed values between replace and find pages .