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 287672
Collapse All | Expand All

(-)js/org/eclipse/rwt/widgets/Menu.js (-2 / +4 lines)
Lines 106-113 Link Here
106
    _layoutPost : function( changes ) {
106
    _layoutPost : function( changes ) {
107
      this.base( arguments );
107
      this.base( arguments );
108
      if( changes.menuLayout ) {
108
      if( changes.menuLayout ) {
109
        this._menuLayoutScheduled = false;        
109
        this._menuLayoutScheduled = false;
110
        this._afterAppear(); // recomputes the location
110
        if( this.isSeeable() ) {        
111
          this._afterAppear(); // recomputes the location
112
        }
111
      }
113
      }
112
    },
114
    },
113
       
115
       
(-)js/org/eclipse/rwt/widgets/MenuItem.js (-1 / +2 lines)
Lines 123-129 Link Here
123
      var width = value ? value[ 1 ] : 0;
123
      var width = value ? value[ 1 ] : 0;
124
      var height = value ? value[ 2 ] : 0;
124
      var height = value ? value[ 2 ] : 0;
125
      if( url == null ) {
125
      if( url == null ) {
126
        this.setCellContent( 0, "" );
126
        var content = this._isSelectable ? "" : null;          
127
        this.setCellContent( 0, content );
127
      } else {
128
      } else {
128
        this.setCellContent( 0, url );
129
        this.setCellContent( 0, url );
129
      }       
130
      }       

Return to bug 287672