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

(-)js/org/eclipse/swt/widgets/Combo.js (-5 / +9 lines)
Lines 144-150 Link Here
144
    },
144
    },
145
    
145
    
146
    _onFocusIn : function( evt ) {
146
    _onFocusIn : function( evt ) {
147
      if(    this.hasState( "rwt_CCOMBO" )
147
      if(    this._field.isCreated()
148
          && this.hasState( "rwt_CCOMBO" )
148
          && !org_eclipse_rap_rwt_EventUtil_suspend )
149
          && !org_eclipse_rap_rwt_EventUtil_suspend )
149
      {
150
      {
150
        this._handleSelectionChange();
151
        this._handleSelectionChange();
Lines 371-382 Link Here
371
        }
372
        }
372
      }
373
      }
373
    },
374
    },
374
375
    
375
    _onMouseUp : function( evt ) {
376
    _onMouseUp : function( evt ) {
376
      if( !this._dropped ) {
377
      if( !this._dropped ) {
377
        this.setCapture( false );
378
        this.setCapture( false );
378
      }
379
      }
379
      if(    this.hasState( "rwt_CCOMBO" )
380
      if(    evt.getTarget() == this._field
381
          && this.hasState( "rwt_CCOMBO" )
380
          && !org_eclipse_rap_rwt_EventUtil_suspend ) 
382
          && !org_eclipse_rap_rwt_EventUtil_suspend ) 
381
      {
383
      {
382
        this._handleSelectionChange();
384
        this._handleSelectionChange();
Lines 456-462 Link Here
456
          }
458
          }
457
          break;
459
          break;
458
      }
460
      }
459
      if(    this.hasState( "rwt_CCOMBO" )
461
      if(    this._field.isCreated()
462
          && this.hasState( "rwt_CCOMBO" )
460
          && !org_eclipse_rap_rwt_EventUtil_suspend ) 
463
          && !org_eclipse_rap_rwt_EventUtil_suspend ) 
461
      {
464
      {
462
        this._handleSelectionChange();
465
        this._handleSelectionChange();
Lines 520-526 Link Here
520
            }
523
            }
521
          }
524
          }
522
      }
525
      }
523
      if(    this.hasState( "rwt_CCOMBO" )
526
      if(    this._field.isCreated()
527
          && this.hasState( "rwt_CCOMBO" )
524
          && !org_eclipse_rap_rwt_EventUtil_suspend ) 
528
          && !org_eclipse_rap_rwt_EventUtil_suspend ) 
525
      {
529
      {
526
        this._handleSelectionChange();
530
        this._handleSelectionChange();

Return to bug 276479