Ticket #7904: 7904_3.patch
File 7904_3.patch, 1.8 KB (added by , 12 years ago) |
---|
-
_source/plugins/richcombo/plugin.js
276 276 else 277 277 me.setValue( '' ); 278 278 279 panel.hide( );279 panel.hide( false ); 280 280 }; 281 281 282 282 this._.panel = panel; -
_source/plugins/menu/plugin.js
114 114 115 115 onClick : function( item ) 116 116 { 117 this.hide( );117 this.hide( false ); 118 118 119 119 if ( item.onClick ) 120 120 item.onClick(); … … 354 354 this._.listeners.push( listenerFn ); 355 355 }, 356 356 357 hide : function( )357 hide : function( returnFocus ) 358 358 { 359 359 this._.onHide && this._.onHide(); 360 this._.panel && this._.panel.hide( );360 this._.panel && this._.panel.hide( returnFocus ); 361 361 } 362 362 } 363 363 }); -
_source/plugins/floatpanel/plugin.js
324 324 isShowing = 0; 325 325 }, 326 326 327 hide : function( )327 hide : function( returnFocus ) 328 328 { 329 329 if ( this.visible && ( !this.onHide || this.onHide.call( this ) !== true ) ) 330 330 { … … 336 336 this.element.getFirst().removeCustomData( 'activePanel' ); 337 337 338 338 // Return focus properly. (#6247) 339 var focusReturn = this._.returnFocus;339 var focusReturn = returnFocus !== false && this._.returnFocus; 340 340 if ( focusReturn ) 341 341 { 342 342 // Webkit requires focus moved out panel iframe first.