diff --git a/ui/datepicker.js b/ui/datepicker.js index 0e4dde7fb..d03d1b8b2 100644 --- a/ui/datepicker.js +++ b/ui/datepicker.js @@ -131,9 +131,6 @@ $.widget( "ui.datepicker", { this.close( event ); } break; - case $.ui.keyCode.ENTER: - this.calendarInstance._handleKeydown( event ); - break; case $.ui.keyCode.DOWN: case $.ui.keyCode.UP: clearTimeout( this.closeTimer ); @@ -142,26 +139,6 @@ $.widget( "ui.datepicker", { this.calendarInstance.grid.focus(); }, 1 ); break; - case $.ui.keyCode.HOME: - if ( event.ctrlKey ) { - this.valueAsDate( new Date() ); - event.preventDefault(); - if ( this.isOpen ) { - this.calendarInstance.refresh(); - } else { - this.open( event ); - } - } - break; - case $.ui.keyCode.END: - if ( event.ctrlKey ) { - this.element.val( "" ); - event.preventDefault(); - if ( this.isOpen ) { - this.close( event ); - } - } - break; } }, keyup: function() {