Changeset 339

Show
Ignore:
Timestamp:
2007-05-30 23:53:33 (3 years ago)
Author:
alfonsoml
Message:

Fix for #487. In the image dialog set the image dimensions when we remove them from the styles.

Location:
FCKeditor/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/trunk/editor/dialog/fck_image/fck_image.js

    r308 r339  
    1 /* 
     1/* 
    22 * FCKeditor - The text editor for Internet - http://www.fckeditor.net 
    33 * Copyright (C) 2003-2007 Frederico Caldeira Knabben 
     
    144144                        iWidth = aMatchW[1] ; 
    145145                        oImage.style.width = '' ; 
     146                        SetAttribute( oImage, 'width' , iWidth ) ; 
    146147                } 
    147148        } 
     
    154155                        iHeight = aMatchH[1] ; 
    155156                        oImage.style.height = '' ; 
     157                        SetAttribute( oImage, 'height', iHeight ) ; 
    156158                } 
    157159        } 
  • FCKeditor/trunk/_whatsnew.html

    r338 r339  
    114114                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/258">#258</a>] The Asp integration  
    115115                        didn't pass boolean values in English, using instead the locale of the server and failing.</li> 
     116                <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/487">#487</a>] If an image 
     117                        with dimensions set as styles was opened with the image manager and then the dialog was 
     118                        canceled the dimensions in the style were lost.</li> 
    116119        </ul> 
    117120        <h3>