]> source.dussan.org Git - jquery-ui.git/commitdiff
Key event fix
authorHans Hillen <hans.hillen@gmail.com>
Wed, 25 May 2011 22:31:16 +0000 (00:31 +0200)
committerHans Hillen <hans.hillen@gmail.com>
Wed, 25 May 2011 22:31:16 +0000 (00:31 +0200)
ui/jquery.ui.popup.js

index 10e6931b8ed812f81746baa438c0c09c53000278..7ccf0ff2eaf62d7fac13feb9d7b1ec28d441c749 100644 (file)
@@ -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;
                        }