Ticket #4798: 4798.patch

File 4798.patch, 559 bytes (added by Garry Yao, 10 years ago)
  • _source/plugins/dialog/plugin.js

     
    328328                        }
    329329                }
    330330
     331                // In Opera, 'keypress' is fired once prior to 'keydown' and once after it. (#4798)
    331332                function focusKeyPressHandler( evt )
    332333                {
    333                         processed && evt.data.preventDefault();
     334                        processed && evt.data.preventDefault(), processed = 0;
    334335                }
    335336
    336337                // Add the dialog keyboard handlers.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy