Fix a problem that popups don't close on iPads.
Fixes issue 7596

Review at http://gwt-code-reviews.appspot.com/1810803

Review by: skybrian@google.com

git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@11219 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/client/ui/PopupPanel.java b/user/src/com/google/gwt/user/client/ui/PopupPanel.java
index 8460eb4..2434496 100644
--- a/user/src/com/google/gwt/user/client/ui/PopupPanel.java
+++ b/user/src/com/google/gwt/user/client/ui/PopupPanel.java
@@ -1375,6 +1375,7 @@
       }
 
       case Event.ONMOUSEDOWN:
+      case Event.ONTOUCHSTART:
         // Don't eat events if event capture is enabled, as this can
         // interfere with dialog dragging, for example.
         if (DOM.getCaptureElement() != null) {
@@ -1390,7 +1391,8 @@
       case Event.ONMOUSEUP:
       case Event.ONMOUSEMOVE:
       case Event.ONCLICK:
-      case Event.ONDBLCLICK: {
+      case Event.ONDBLCLICK:
+      case Event.ONTOUCHEND: {
         // Don't eat events if event capture is enabled, as this can
         // interfere with dialog dragging, for example.
         if (DOM.getCaptureElement() != null) {