Ticket #8864: 8864_2.patch

File 8864_2.patch, 1.4 KB (added by Garry Yao, 12 years ago)
  • _source/plugins/floatpanel/plugin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    4747                                element = panel.element,
    4848                                iframe = element.getFirst().getFirst();
    4949
     50                        // Disable native browser menu. (#4825)
     51                        element.disableContextMenu();
     52
    5053                        this.element = element;
    5154
    5255                        this._ =
  • _source/plugins/panel/plugin.js

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    227227        {
    228228                var blocks = this._.blocks,
    229229                        block = blocks[ name ],
    230                         current = this._.currentBlock,
    231                         holder = this.forceIFrame ?
    232                                 this.document.getById( this.id + '_frame' )
    233                                 : this._.holder;
     230                        current = this._.currentBlock;
    234231
    235                 // Disable context menu for block panel.
    236                 holder.getParent().getParent().disableContextMenu();
     232                // ARIA role works better in IE on the body element, while on the iframe
     233                // for FF. (#8864)
     234                var holder = !this.forceIFrame || CKEDITOR.env.ie ?
     235                                 this._.holder : this.document.getById( this.id + '_frame' );
    237236
    238237                if ( current )
    239238                {
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy