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 282540 | Differences between
and this patch

Collapse All | Expand All

(-)js/org/eclipse/swt/widgets/Combo.js (-3 / +7 lines)
Lines 181-189 Link Here
181
    },
181
    },
182
182
183
    _onChangeBackgoundColor : function( evt ) {
183
    _onChangeBackgoundColor : function( evt ) {
184
      var value = evt.getValue();
184
      var color = evt.getValue();
185
      this._field.setBackgroundColor( value );
185
      this._field.setBackgroundColor( color );
186
      this._list.setBackgroundColor( value );
186
      if( color == null ) {
187
        var tv = new org.eclipse.swt.theme.ThemeValues( {} );
188
        color = tv.getCssColor( "Combo", "background-color" );  
189
      } 
190
      this._list.setBackgroundColor( color );
187
    },
191
    },
188
    
192
    
189
    _onChangeVisibility : function( evt ) {
193
    _onChangeVisibility : function( evt ) {

Return to bug 282540