Ticket #3174: 3174_5.patch

File 3174_5.patch, 686 bytes (added by Martin Kou, 15 years ago)
  • _source/plugins/floatpanel/plugin.js

     
    182182                                                        }
    183183
    184184                                                        if ( !CKEDITOR.env.gecko || panel.isLoaded )
    185                                                                 setHeight();
     185                                                        {
     186                                                                // IE7 needs some time (setting the delay to 0ms won't work) to refresh
     187                                                                // the scrollHeight. (#3174)
     188                                                                if ( CKEDITOR.env.ie && CKEDITOR.env.version >= 7 )
     189                                                                        setTimeout( setHeight, 50 );
     190                                                                else
     191                                                                        setHeight();
     192                                                        }
    186193                                                        else
    187194                                                                panel.onLoad = setHeight;
    188195                                                }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy