summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/dialog/fck_spellerpages.html')
-rw-r--r--httemplate/elements/fckeditor/editor/dialog/fck_spellerpages.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages.html b/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages.html
index c3b7409..66596e1 100644
--- a/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages.html
+++ b/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages.html
@@ -1,7 +1,7 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!--
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
- * Copyright (C) 2003-2010 Frederico Caldeira Knabben
+ * Copyright (C) 2003-2007 Frederico Caldeira Knabben
*
* == BEGIN LICENSE ==
*
@@ -26,7 +26,6 @@
<title>Spell Check</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta content="noindex, nofollow" name="robots">
- <script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script src="fck_spellerpages/spellerpages/spellChecker.js"></script>
<script type="text/javascript">
@@ -52,12 +51,7 @@ function OnSpellerControlsLoad( controlsWindow )
function oSpeller_OnFinished( numberOCorrections )
{
if ( numberOCorrections > 0 )
- {
- oEditor.FCKUndo.SaveUndoStep() ;
- oEditor.FCK.EditorDocument.body.innerHTML = document.getElementById('txtHtml').value ;
- if ( oEditor.FCKBrowserInfo.IsIE )
- oEditor.FCKSelection.Collapse( true ) ;
- }
+ oEditor.FCK.SetHTML( document.getElementById('txtHtml').value ) ;
window.parent.Cancel() ;
}