Ticket #481: 481_2.patch

File 481_2.patch, 1.3 kB (added by martinkou, 6 months ago)
  • _whatsnew.html

     
    108108                        behind smiley icons and special characters in their corresponding dialogs.</li> 
    109109                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom error messages are now  
    110110                        properly displayed in the file browser.</li> 
     111                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the issue where the image  
     112                        preview in image dialog sometimes doesn't display after selecting the image from server browser.</li> 
    111113        </ul> 
    112114        <p> 
    113115                <a href="_whatsnew_history.html">See previous versions history</a> 
  • editor/dialog/fck_image/fck_image.js

     
    385385function ResetSizes() 
    386386{ 
    387387        if ( ! oImageOriginal ) return ; 
     388        if ( oEditor.FCKBrowserInfo.IsGecko && !oImageOriginal.complete ) 
     389        { 
     390                setTimeout( ResetSizes, 50 ) ; 
     391                return ; 
     392        } 
    388393 
    389394        GetE('txtWidth').value  = oImageOriginal.width ; 
    390395        GetE('txtHeight').value = oImageOriginal.height ;