Changeset 5563

Show
Ignore:
Timestamp:
09/30/08 13:38:48 (3 months ago)
Author:
marc.englund@…
Message:

Better handling when user quickly enters invalid stuff & tabs out. Fixes #2120

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/com/itmill/toolkit/terminal/gwt/client/ui/IFilterSelect.java

    r5524 r5563  
    791791 
    792792    public void onLostFocus(Widget sender) { 
    793         if (suggestionPopup.isJustClosed()) { 
     793        if (!suggestionPopup.isAttached() || suggestionPopup.isJustClosed()) { 
     794            // typing so fast the popup was never opened, or it's just closed 
    794795            suggestionPopup.menu.doSelectedItemAction(); 
    795796        }