Ticket #6534: 6534.patch

File 6534.patch, 754 bytes (added by Martin, 13 years ago)
  • _source/plugins/contextmenu/plugin.js

     
    1 ?/*
     1/*
    22Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
    33For licensing, see LICENSE.html or http://ckeditor.com/license
    44*/
     
    225225                                },
    226226                                this );
    227227
     228                        if (CKEDITOR.env.opera )
     229                        {
     230                                element.on( 'keypress' , function ( evt )
     231                                {
     232                                        var domEvent = evt.data;
     233
     234                                        if ( domEvent.$.keyCode == 0 )
     235                                        {
     236                                                domEvent.preventDefault();
     237                                        }
     238                                });
     239                        }
     240
    228241                        if ( CKEDITOR.env.webkit )
    229242                        {
    230243                                var holdCtrlKey,
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy