Changeset 1800

Show
Ignore:
Timestamp:
2008-03-25 16:39:25 (3 months ago)
Author:
fredck
Message:

[ASP.NET] Fixed #1919 : The connector responses are now compatible with custom document.domain settings.

Location:
FCKeditor.Net/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor.Net/trunk/FileBrowser/FileWorkerBase.cs

    r1701 r1800  
    114114                        Response.Write( "<script type=\"text/javascript\">" ); 
    115115 
     116                        // Minified version of the document.domain automatic fix script. 
     117                        // The original script can be found at _dev/domain_fix_template.js 
     118                        Response.Write( @"(function(){var d=document.domain;while (true){try{var A=window.top.opener.document.domain;break;}catch(e) {};d=d.replace(/.*?(?:\.|$)/,'');if (d.length==0) break;try{document.domain=d;}catch (e){break;}}})();" ); 
     119 
    116120                        if ( isQuickUpload ) 
    117121                                Response.Write( "window.parent.OnUploadCompleted(" + errorNumber + ",'" + fileUrl.Replace( "'", "\\'" ) + "','" + fileName.Replace( "'", "\\'" ) + "','" + customMsg.Replace( "'", "\\'" ) + "') ;" ); 
  • FCKeditor.Net/trunk/_whatsnew.html

    r1770 r1800  
    4242                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] The "\" 
    4343                        character is now properly verified for all connector requests.</li> 
     44                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1919">#1919</a>] The connector 
     45                        responses are now compatible with custom document.domain settings.</li> 
    4446        </ul> 
    4547        <h3>