Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
ckeditor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vanilla ckeditor-3.6.6.1
[ckeditor.git]
/
_samples
/
readonly.html
diff --git
a/_samples/readonly.html
b/_samples/readonly.html
index
283b294
..
e462fbd
100644
(file)
--- a/
_samples/readonly.html
+++ b/
_samples/readonly.html
@@
-1,6
+1,6
@@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
<!--
\r
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
<!--
\r
-Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
\r
+Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
-->
\r
<html xmlns="http://www.w3.org/1999/xhtml">
\r
For licensing, see LICENSE.html or http://ckeditor.com/license
\r
-->
\r
<html xmlns="http://www.w3.org/1999/xhtml">
\r
@@
-32,11
+32,11
@@
CKEDITOR.on( 'instanceReady', function( ev )
});
\r
});
\r
\r
});
\r
});
\r
\r
-function toggleReadOnly( makeEditable )
\r
+function toggleReadOnly( isReadOnly )
\r
{
\r
// Change the read-only state of the editor.
\r
// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly
\r
{
\r
// Change the read-only state of the editor.
\r
// http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#setReadOnly
\r
- editor.setReadOnly( makeEditable );
\r
+ editor.setReadOnly( isReadOnly );
\r
}
\r
\r
//]]>
\r
}
\r
\r
//]]>
\r
@@
-74,7
+74,7
@@
function toggleReadOnly( makeEditable )
</p>
\r
<p>
\r
<input id="readOnlyOn" onclick="toggleReadOnly();" type="button" value="Make it read-only" style="display:none" />
\r
</p>
\r
<p>
\r
<input id="readOnlyOn" onclick="toggleReadOnly();" type="button" value="Make it read-only" style="display:none" />
\r
- <input id="readOnlyOff" onclick="toggleReadOnly( true );" type="button" value="Make it editable again" style="display:none" />
\r
+ <input id="readOnlyOff" onclick="toggleReadOnly( false );" type="button" value="Make it editable again" style="display:none" />
\r
</p>
\r
</form>
\r
<div id="footer">
\r
</p>
\r
</form>
\r
<div id="footer">
\r
@@
-83,7
+83,7
@@
function toggleReadOnly( makeEditable )
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
\r
</p>
\r
<p id="copy">
\r
CKEditor - The text editor for the Internet - <a class="samples" href="http://ckeditor.com/">http://ckeditor.com</a>
\r
</p>
\r
<p id="copy">
\r
- Copyright © 2003-2011, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
\r
+ Copyright © 2003-2013, <a class="samples" href="http://cksource.com/">CKSource</a> - Frederico
\r
Knabben. All rights reserved.
\r
</p>
\r
</div>
\r
Knabben. All rights reserved.
\r
</p>
\r
</div>
\r