summaryrefslogtreecommitdiff
path: root/src/main/webapp/js/jquery-ui.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/webapp/js/jquery-ui.js')
-rw-r--r--src/main/webapp/js/jquery-ui.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/webapp/js/jquery-ui.js b/src/main/webapp/js/jquery-ui.js
index 6470041..5754d6a 100644
--- a/src/main/webapp/js/jquery-ui.js
+++ b/src/main/webapp/js/jquery-ui.js
@@ -10512,6 +10512,18 @@ $.widget( "ui.menu", {
if ( target.length ) {
self.blur( event );
}
+ })
+ .bind( "focus.menu", function( event ) {
+ if ( self.options.disabled ) {
+ return;
+ }
+ self.focus( event, $( event.target ).children( ".ui-menu-item:first" ) );
+ })
+ .bind( "blur.menu", function( event ) {
+ if ( self.options.disabled ) {
+ return;
+ }
+ self.collapseAll( event );
});
this.refresh();