Ticket #2066: 2066.patch

File 2066.patch, 1.2 KB (added by martinkou, 22 months ago)
  • _whatsnew.html

     
    116116                        changed from "&lt;?=" to "&lt;? echo".</li>  
    117117                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor fix in fckselection for 
    118118                        nodeName attribute detection.</li>  
     119                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2066">#2066</a>] Added a workaround for a Mac 
     120                        Safari 3.1 browser bug which caused the Fit Window button to give a blank screen.</li>  
    119121        </ul> 
    120122        <h3> 
    121123                Version 2.6</h3> 
  • editor/_source/commandclasses/fckfitwindow.js

     
    8383                var oViewPaneSize = FCKTools.GetViewPaneSize( eMainWindow ) ; 
    8484 
    8585                eEditorFrameStyle.position      = "absolute"; 
     86                eEditorFrame.offsetLeft ;               // Kludge for Safari 3.1 browser bug, do not remove. See #2066. 
    8687                eEditorFrameStyle.zIndex        = FCKConfig.FloatingPanelsZIndex - 1; 
    8788                eEditorFrameStyle.left          = "0px"; 
    8889                eEditorFrameStyle.top           = "0px";