X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=_source%2Fplugins%2Ffind%2Fdialogs%2Ffind.js;h=5fb9c6ea9c5fe11df132099746e0862c3b504809;hb=4e70ea24db840898be8cc21c950363a52a2a6aba;hp=ccf4cf62da0abb6646ddc954f80b261681c5c6e3;hpb=48b1db88210b4160dce439c6e3e32e14af8c106b;p=ckeditor.git diff --git a/_source/plugins/find/dialogs/find.js b/_source/plugins/find/dialogs/find.js index ccf4cf6..5fb9c6e 100644 --- a/_source/plugins/find/dialogs/find.js +++ b/_source/plugins/find/dialogs/find.js @@ -628,6 +628,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license }, { type : 'button', + id : 'btnFind', align : 'left', style : 'width:100%', label : lang.find, @@ -693,6 +694,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license }, { type : 'button', + id : 'btnFindReplace', align : 'left', style : 'width:100%', label : lang.replace, @@ -726,6 +728,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license }, { type : 'button', + id : 'btnReplaceAll', align : 'left', style : 'width:100%', label : lang.replaceAll, @@ -851,6 +854,8 @@ For licensing, see LICENSE.html or http://ckeditor.com/license finder.searchRange = getSearchRange(); this.selectPage( startupPage ); + + this[ ( startupPage == 'find' && this._.editor.readOnly? 'hide' : 'show' ) + 'Page' ]( 'replace'); }, onHide : function() {