FCKeditor 2.6.6
[freeside.git] / httemplate / elements / fckeditor / editor / dialog / fck_colorselector.html
index 1778f51..0f2aaac 100644 (file)
@@ -1,7 +1,7 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >\r
 <!--\r
  * FCKeditor - The text editor for Internet - http://www.fckeditor.net\r
- * Copyright (C) 2003-2007 Frederico Caldeira Knabben\r
+ * Copyright (C) 2003-2010 Frederico Caldeira Knabben\r
  *\r
  * == BEGIN LICENSE ==\r
  *\r
@@ -34,6 +34,7 @@
                        #btnClear               { width: 75px ; height: 22px ; margin-bottom: 6px ; }\r
                        .ColorCell              { height: 15px ; width: 15px ; }\r
                </style>\r
+               <script src="common/fck_dialog_common.js" type="text/javascript"></script>\r
                <script type="text/javascript">\r
 \r
 var oEditor = window.parent.InnerDialogLoaded() ;\r
@@ -135,8 +136,8 @@ function UpdateColor()
 \r
 function Ok()\r
 {\r
-       if ( typeof(window.parent.dialogArguments.CustomValue) == 'function' )\r
-               window.parent.dialogArguments.CustomValue( document.getElementById('selcolor').value ) ;\r
+       if ( typeof(window.parent.Args().CustomValue) == 'function' )\r
+               window.parent.Args().CustomValue( document.getElementById('selcolor').value ) ;\r
 \r
        return true ;\r
 }\r