Skip to content

Commit

Permalink
Fix for loss of focus when selecting an a date in an inline datepicker
Browse files Browse the repository at this point in the history
  • Loading branch information
hanshillen committed Mar 24, 2012
1 parent 25baf88 commit 86128ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datepicker-rewrite/picker.js
Expand Up @@ -73,7 +73,7 @@ $.widget( "ui.datepicker", {


switch ( event.keyCode ) { switch ( event.keyCode ) {
case $.ui.keyCode.ENTER: case $.ui.keyCode.ENTER:
activeCell.children( "a:first" ).mousedown(); that.select( event, activeCell.children( "a:first" ).data( "timestamp" ) );
return; return;
break; break;
case $.ui.keyCode.PAGE_UP: case $.ui.keyCode.PAGE_UP:
Expand Down

0 comments on commit 86128ae

Please sign in to comment.