Key event fix

This commit is contained in:
Hans Hillen 2011-05-26 00:31:16 +02:00
parent f45fc08f86
commit ab2bbd3bab

View 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;
}