Changeset 5075
- Timestamp:
- 2010-02-09 17:15:08 (6 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/branches/features/aria/_source/plugins/find/dialogs/find.js
r4858 r5075 813 813 // Establish initial searching start position. 814 814 finder.searchRange = getSearchRange(); 815 816 if ( startupPage == 'replace' )817 this.getContentElement( 'replace', 'txtFindReplace' ).focus();818 else819 this.getContentElement( 'find', 'txtFindFind' ).focus();820 815 }, 821 816 onHide : function() … … 831 826 // Clear current session before dialog close 832 827 delete finder.matchRange; 828 }, 829 onFocus : function() 830 { 831 if ( startupPage == 'replace' ) 832 return this.getContentElement( 'replace', 'txtFindReplace' ); 833 else 834 return this.getContentElement( 'find', 'txtFindFind' ); 833 835 } 834 836 };