summaryrefslogtreecommitdiff
path: root/httemplate/elements/fckeditor/editor/dialog/fck_listprop.html
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements/fckeditor/editor/dialog/fck_listprop.html')
-rw-r--r--httemplate/elements/fckeditor/editor/dialog/fck_listprop.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/httemplate/elements/fckeditor/editor/dialog/fck_listprop.html b/httemplate/elements/fckeditor/editor/dialog/fck_listprop.html
index a67af18..a0a927e 100644
--- a/httemplate/elements/fckeditor/editor/dialog/fck_listprop.html
+++ b/httemplate/elements/fckeditor/editor/dialog/fck_listprop.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 ==
*
@@ -29,14 +29,13 @@
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
<script type="text/javascript">
-var dialog = window.parent ;
-var oEditor = dialog.InnerDialogLoaded() ;
+var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var sListType = ( location.search == '?OL' ? 'OL' : 'UL' ) ;
-var oActiveEl = dialog.Selection.GetSelection().MoveToAncestorNode( sListType ) ;
+var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( sListType ) ;
var oActiveSel ;
window.onload = function()
@@ -64,10 +63,7 @@ window.onload = function()
oActiveSel.value = oActiveEl.getAttribute('type') ;
}
- dialog.SetOkButton( true ) ;
- dialog.SetAutoSize( true ) ;
-
- SelectField( sListType == 'OL' ? 'txtStartPosition' : 'selBulleted' ) ;
+ window.parent.SetOkButton( true ) ;
}
function Ok()