Changeset 3983


Ignore:
Timestamp:
07/28/09 08:32:44 (5 years ago)
Author:
tobiasz.cudnik
Message:

Fixed #4003 - Markup on the image dialog disrupted when removing the border input.

Location:
CKEditor/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CKEditor/trunk/CHANGES.html

    r3982 r3983  
    189189                <li><a href="http://dev.fckeditor.net/ticket/3622">#3622</a> : Fixed shift enter with selection not deleting highlighted text.</li> 
    190190                <li><a href="http://dev.fckeditor.net/ticket/4092">#4092</a> : [IE6] Close button was missing for dialog without multiple tabs.</li>  
     191                <li><a href="http://dev.fckeditor.net/ticket/4003">#4003</a> : Markup on the image dialog was disrupted when removing the border input.</li> 
    191192        </ul> 
    192193        <h3> 
  • CKEditor/trunk/_source/skins/office2003/skin.js

    r3342 r3983  
    4747 
    4848                        // Fix the size of the elements which have flexible lengths. 
    49                         setTimeout( function() 
     49                        var fixSize = function() 
    5050                                { 
    5151                                        var content = dialog.parts.contents, 
     
    6868                                        el = innerDialog.getChild( 5 ); 
    6969                                        el.setStyle( 'height', ( body.$.offsetHeight - 31 - 14 ) + 'px' ); 
    70                                 }, 
    71                                 100 ); 
     70                                }; 
     71                        setTimeout( fixSize, 100 ); 
     72 
     73                        // Ensure size is correct for RTL mode. (#4003) 
     74                        if ( evt.editor.lang.dir == 'rtl' ) 
     75                                setTimeout( fixSize, 1000 ); 
    7276                }); 
    7377} 
Note: See TracChangeset for help on using the changeset viewer.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy