Show
Ignore:
Timestamp:
2008-07-25 13:38:23 (6 months ago)
Author:
fredck
Message:

Updated "latest" branch with version 2.6.3 Beta.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/releases/latest/editor/fckeditor.original.html

    r2127 r2291  
    3131        @Packager.RemoveLine --> 
    3232        <script type="text/javascript"> 
     33 
     34// #1645: Alert the user if opening FCKeditor in FF3 from local filesystem 
     35// without security.fileuri.strict_origin_policy disabled. 
     36if ( document.location.protocol == 'file:' ) 
     37{ 
     38        try 
     39        { 
     40                window.parent.document.domain ; 
     41        } 
     42        catch ( e ) 
     43        { 
     44                window.addEventListener( 'load', function() 
     45                        { 
     46                                document.body.innerHTML = '\ 
     47                                        <div style="border: 1px red solid; font-family: arial; font-size: 12px; color: red; padding:10px;">\ 
     48                                                <p>\ 
     49                                                        <b>Your browser security settings don\'t allow FCKeditor to be opened from\ 
     50                                                        the local filesystem.<\/b>\ 
     51                                                <\/p>\ 
     52                                                <p>\ 
     53                                                        Please open the <b>about:config<\/b> page and disable the\ 
     54                                                        &quot;security.fileuri.strict_origin_policy&quot; option; then load this page again.\ 
     55                                                <\/p>\ 
     56                                                <p>\ 
     57                                                        Check our <a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/FAQ#ff3perms">FAQ<\/a>\ 
     58                                                        for more information.\ 
     59                                                <\/p>\ 
     60                                        <\/div>' ; 
     61                        }, false ) ; 
     62        } 
     63} 
    3364 
    3465// Save a reference to the default domain. 
     
    330361                        FCKTools.RunFunction( window.onresize ) ; 
    331362 
    332                 _AttachFormSubmitToAPI() ; 
     363                if ( !FCKConfig.PreventSubmitHandler ) 
     364                        _AttachFormSubmitToAPI() ; 
    333365 
    334366                FCK.SetStatus( FCK_STATUS_COMPLETE ) ;