Ticket #3946: 3946_2.patch

File 3946_2.patch, 1.9 KB (added by Tobiasz Cudnik, 15 years ago)
  • CHANGES.html

     
    129129                <li><a href="http://dev.fckeditor.net/ticket/3839">#3839</a> : Update Scayt plugin to reflect the latest change from SpellChecker.net.</li>
    130130                <li><a href="http://dev.fckeditor.net/ticket/3742">#3742</a> : Fixed wrong dialog layout for dialogs without tab bar in IE RTL mode .</li>
    131131                <li><a href="http://dev.fckeditor.net/ticket/3671">#3671</a> : Fixed body fixing should be applied to the real type under fake elements.</li>
     132                <li><a href="http://dev.fckeditor.net/ticket/3946">#3946</a> : Fixed unable to hide contextmenu.</li>
    132133        </ul>
    133134        <h3>
    134135                CKEditor 3.0 RC</h3>
  • _source/plugins/floatpanel/plugin.js

     
    121121                                if ( corner == 3 || corner == 4 )
    122122                                        top += offsetParent.$.offsetHeight - 1;
    123123
     124                                // Memorize offsetParent by it's ID.
     125                                this._.panel._.offsetParentId = offsetParent.getId();
     126
    124127                                element.setStyles(
    125128                                        {
    126129                                                top : top + 'px',
     
    233236                                                                                iframe.setAttribute( 'title', ' ' );
    234237                                                                        }
    235238                                                                }
    236                                                                 if ( CKEDITOR.env.ie && CKEDITOR.env.quirks )
     239                                                                if ( CKEDITOR.env.ie )
    237240                                                                        iframe.focus();
    238241                                                                else
    239242                                                                        iframe.$.contentWindow.focus();
     
    269272
    270273                        showAsChild : function( panel, blockName, offsetParent, corner, offsetX, offsetY )
    271274                        {
     275                                // Skip reshowing of child which is already visible.
     276                                if ( this._.activeChild == panel && panel._.panel._.offsetParentId == offsetParent.getId() )
     277                                        return;
     278
    272279                                this.hideChild();
    273280
    274281                                panel.onHide = CKEDITOR.tools.bind( function()
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy