Author: j...@google.com
Date: Wed Feb  4 15:02:08 2009
New Revision: 4628

Modified:
     
branches/snapshot-2009.01.29/user/src/com/google/gwt/user/client/ui/PopupPanel.java

Log:
Causes PopupPanels that are forcibly remove()d to hide themselves, removing
event previews.

Patch by: jgw
Review by: rjrjr (Desk check)


Modified:  
branches/snapshot-2009.01.29/user/src/com/google/gwt/user/client/ui/PopupPanel.java
==============================================================================
---  
branches/snapshot-2009.01.29/user/src/com/google/gwt/user/client/ui/PopupPanel.java
      
(original)
+++  
branches/snapshot-2009.01.29/user/src/com/google/gwt/user/client/ui/PopupPanel.java
      
Wed Feb  4 15:02:08 2009
@@ -588,6 +588,11 @@
      return true;
    }

+  @Override
+  protected void onUnload() {
+    hide();
+  }
+
    /**
     * Remove an autoHide partner.
     *

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to