X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_samples%2Freadonly.html;h=8b6c3a894bed0e284047fb6866bd5a44619856c8;hp=283b2940cdc06835568c53cec740f69da160ff99;hb=f0610347140239143439a511ee2bd48cb784f470;hpb=4e70ea24db840898be8cc21c950363a52a2a6aba diff --git a/_samples/readonly.html b/_samples/readonly.html index 283b294..8b6c3a8 100644 --- a/_samples/readonly.html +++ b/_samples/readonly.html @@ -32,11 +32,11 @@ CKEDITOR.on( 'instanceReady', function( ev ) }); }); -function toggleReadOnly( makeEditable ) +function toggleReadOnly( isReadOnly ) { // Change the read-only state of the editor. // http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly - editor.setReadOnly( makeEditable ); + editor.setReadOnly( isReadOnly ); } //]]> @@ -74,7 +74,7 @@ function toggleReadOnly( makeEditable )

- +