Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 480998
Collapse All | Expand All

(-)a/bundles/org.eclipse.rap.rwt/js/rwt/widgets/ToolBar.js (-2 / +2 lines)
Lines 94-106 Link Here
94
    },
94
    },
95
95
96
    _onKeyDown : function( event ) {
96
    _onKeyDown : function( event ) {
97
      if( this._hoverItem != null && this._isRelevantEvent( event ) ) {
97
      if( this._hoverItem != null && this._isRelevantEvent( event ) && this._hoverItem._onKeyDown ) {
98
        this._hoverItem._onKeyDown( event );
98
        this._hoverItem._onKeyDown( event );
99
      }
99
      }
100
    },
100
    },
101
101
102
    _onKeyUp : function( event ) {
102
    _onKeyUp : function( event ) {
103
      if( this._hoverItem != null && this._isRelevantEvent( event ) ) {
103
      if( this._hoverItem != null && this._isRelevantEvent( event ) && this._hoverItem._onKeyUp ) {
104
        this._hoverItem._onKeyUp( event );
104
        this._hoverItem._onKeyUp( event );
105
      }
105
      }
106
    },
106
    },

Return to bug 480998