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
					
				
					 1 changed files with 6 additions and 2 deletions
				
			
		
							
								
								
									
										8
									
								
								tailbone/static/js/lib/jquery.ui.menubar.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										8
									
								
								tailbone/static/js/lib/jquery.ui.menubar.js
									
										
									
									
										vendored
									
									
								
							|  | @ -267,8 +267,12 @@ | |||
|                 .removeAttr( "aria-hidden" ) | ||||
|                 .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 need a comment here why both events are triggered
 | ||||
|                 // 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar