Changeset 1922


Ignore:
Timestamp:
04/14/08 05:48:43 (7 years ago)
Author:
martinkou
Message:

Fixed #2102 : Fixed FCKConfig.DocType which stopped working in FCKeditor 2.6.

Location:
FCKeditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/_whatsnew.html

    r1921 r1922  
    4848                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1426">#1426</a>] Fixed the error loading 
    4949                        fckstyles.xml in servers which cannot return the correct content type header for .xml files.</li> 
     50                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2102">#2102</a>] Fixed FCKConfig.DocType 
     51                        which stopped working in FCKeditor 2.6.</li> 
    5052        </ul> 
    5153        <h3> 
  • FCKeditor/trunk/editor/_source/classes/fckeditingarea.js

    r1793 r1922  
    102102                if ( FCK_IS_CUSTOM_DOMAIN && FCKBrowserInfo.IsIE ) 
    103103                { 
    104                         window._FCKHtmlToLoad = sOverrideError + html ; 
     104                        window._FCKHtmlToLoad = html.replace( /<head>/i, '<head>' + sOverrideError ) ; 
    105105                        oIFrame.src = 'javascript:void( (function(){' + 
    106106                                'document.open() ;' + 
     
    134134 
    135135                        oDoc.open() ; 
    136                         oDoc.write( sOverrideError + html ) ; 
     136                        oDoc.write( html.replace( /<head>/i, '<head>' + sOverrideError ) ) ; 
    137137                        oDoc.close() ; 
    138138                } 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy