Changeset 368


Ignore:
Timestamp:
06/11/2007 11:29:06 PM (7 years ago)
Author:
alfonsoml
Message:

Fix for #63. Workaround the Safari bug.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/_source/classes/fckpanel.js

    r248 r368  
    6161                oDocument = this.Document = oIFrameWindow.document ; 
    6262 
     63                // Workaround for Safari 12256. Ticket #63 
     64                var sBase = '' ; 
     65                if ( FCKBrowserInfo.IsSafari ) 
     66                        sBase = '<base href="' + window.document.location + '">' ; 
     67 
    6368                // Initialize the IFRAME document body. 
    6469                oDocument.open() ; 
    65                 oDocument.write( '<html><head></head><body style="margin:0px;padding:0px;"><\/body><\/html>' ) ; 
     70                oDocument.write( '<html><head>' + sBase + '<\/head><body style="margin:0px;padding:0px;"><\/body><\/html>' ) ; 
    6671                oDocument.close() ; 
    6772 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy