From: Hans Hillen Date: Wed, 25 May 2011 22:31:16 +0000 (+0200) Subject: Key event fix X-Git-Tag: 1.9m6~98^2~41^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ab2bbd3bab8c0dd106fe1a1ca4ae4d5f30e97986;p=jquery-ui.git Key event fix --- diff --git a/ui/jquery.ui.popup.js b/ui/jquery.ui.popup.js index 10e6931b8..7ccf0ff2e 100644 --- a/ui/jquery.ui.popup.js +++ b/ui/jquery.ui.popup.js @@ -155,7 +155,7 @@ $.widget( "ui.popup", { else { //default use case, popup could be anything (e.g. a form) this.element - .bind( "keypress.ui-popup", function( event ) { + .bind( "keydown.ui-popup", function( event ) { if ( event.keyCode !== $.ui.keyCode.TAB ) { return; }