Disable a focus() call in menubar.js which messed with search filter focus
Hopefully this is a good idea..? Probably should look for a replacement lib at some point...
This commit is contained in:
parent
6cb4b86fd0
commit
383d714214
6
tailbone/static/js/lib/jquery.ui.menubar.js
vendored
6
tailbone/static/js/lib/jquery.ui.menubar.js
vendored
|
@ -268,7 +268,11 @@
|
|||
.attr( "aria-expanded", "true" )
|
||||
.menu("focus", event, menu.children( ".ui-menu-item" ).first() )
|
||||
// TODO need a comment here why both events are triggered
|
||||
.focus()
|
||||
// TODO: heh well given the above comment i'm not sure what the
|
||||
// implications might be for disabling the focus() call..but it
|
||||
// messes with text input focus in undesirable ways..so disable it
|
||||
// we will..until we know why we shouldn't
|
||||
// .focus()
|
||||
.focusin();
|
||||
this.open = true;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue