[geeklog-cvs] Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js common.js, 1.4, 1.5 fckxml.js, 1.3, 1.4

Blaine Lang blaine at qs1489.pair.com
Sun May 4 20:35:28 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js
In directory qs1489.pair.com:/tmp/cvs-serv85146/editor/filemanager/browser/default/js

Modified Files:
	common.js fckxml.js 
Log Message:
Upgraded the FCKeditor to version 2.6 Final - latest release April 7/08

Index: common.js
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js/common.js,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** common.js	9 Feb 2008 12:53:58 -0000	1.4
--- common.js	5 May 2008 00:35:25 -0000	1.5
***************
*** 1,5 ****
  /*
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2007 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
--- 1,5 ----
  /*
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2008 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
***************
*** 23,26 ****
--- 23,58 ----
   */
  
+ // Automatically detect the correct document.domain (#1919).
+ (function()
+ {
+ 	var d = document.domain ;
+ 
+ 	while ( true )
+ 	{
+ 		// Test if we can access a parent property.
+ 		try
+ 		{
+ 			var test = window.top.opener.document.domain ;
+ 			break ;
+ 		}
+ 		catch( e ) {}
+ 
+ 		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
+ 		d = d.replace( /.*?(?:\.|$)/, '' ) ;
+ 
+ 		if ( d.length == 0 )
+ 			break ;		// It was not able to detect the domain.
+ 
+ 		try
+ 		{
+ 			document.domain = d ;
+ 		}
+ 		catch (e)
+ 		{
+ 			break ;
+ 		}
+ 	}
+ })() ;
+ 
  function AddSelectOption( selectElement, optionText, optionValue )
  {
***************
*** 53,55 ****
  {
      return this._Strings.join( '' ) ;
! }
\ No newline at end of file
--- 85,87 ----
  {
      return this._Strings.join( '' ) ;
! }

Index: fckxml.js
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/fckeditor/editor/filemanager/browser/default/js/fckxml.js,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** fckxml.js	9 Feb 2008 12:53:58 -0000	1.3
--- fckxml.js	5 May 2008 00:35:25 -0000	1.4
***************
*** 1,5 ****
  /*
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2007 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
--- 1,5 ----
  /*
   * FCKeditor - The text editor for Internet - http://www.fckeditor.net
!  * Copyright (C) 2003-2008 Frederico Caldeira Knabben
   *
   * == BEGIN LICENSE ==
***************
*** 32,37 ****
  {
  	// Gecko / IE7
! 	if ( typeof(XMLHttpRequest) != 'undefined' )
! 		return new XMLHttpRequest() ;
  
  	// IE6
--- 32,37 ----
  {
  	// Gecko / IE7
! 	try { return new XMLHttpRequest(); }
! 	catch(e) {}
  
  	// IE6




More information about the geeklog-cvs mailing list