Ticket #191: 191.patch

File 191.patch, 733 bytes (added by Martin Kou, 16 years ago)

Proposed patch for fixing #191.

  • editor/_source/classes/fckpanel.js

     
    186186                        FCKPanel_Window_OnBlur( null, this.ParentPanel ) ;
    187187                }
    188188
     189                // Kludge to #191: toggle the iframe scrolling attribute to prevent the panel scrollbars from disappearing.
     190                if ( FCKBrowserInfo.IsGecko )
     191                {
     192                        var me = this ;
     193                        this._IFrame.scrolling = '' ;
     194                        setTimeout( function(){ me._IFrame.scrolling = 'no'; }, 1 ) ;
     195                }
     196
    189197                // Be sure we'll not have more than one Panel opened at the same time.
    190198                if ( FCKPanel._OpenedPanel )
    191199                        FCKPanel._OpenedPanel.Hide() ;
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy