summaryrefslogtreecommitdiffstats
path: root/WebKit
diff options
context:
space:
mode:
authorLeon Scroggins <scroggo@google.com>2009-07-23 16:42:07 -0400
committerLeon Scroggins <scroggo@google.com>2009-07-23 16:42:07 -0400
commit46ab2ef854b718ae57dd99d0d4835dc3897086af (patch)
tree99d2c8263c78f1f2d89bafad8f00741fd3f43fef /WebKit
parent769e21eaac67b6b46de0e2cafc31f61fb990179e (diff)
downloadexternal_webkit-46ab2ef854b718ae57dd99d0d4835dc3897086af.zip
external_webkit-46ab2ef854b718ae57dd99d0d4835dc3897086af.tar.gz
external_webkit-46ab2ef854b718ae57dd99d0d4835dc3897086af.tar.bz2
Clear the WebTextView when clicking on another node.
We already cleared it in the above case, when the user clicks on empty space. If the user clicks on a node, and it is not a text input, clear it. This fixes a bug on the Google home page, where the user has typed into the textfield, but then clicks on "more" and is then unable to click on Gmail, which is covered by the (invisible) WebTextView.
Diffstat (limited to 'WebKit')
-rw-r--r--WebKit/android/nav/WebView.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/WebKit/android/nav/WebView.cpp b/WebKit/android/nav/WebView.cpp
index cf1e486..ec57a3b 100644
--- a/WebKit/android/nav/WebView.cpp
+++ b/WebKit/android/nav/WebView.cpp
@@ -955,6 +955,7 @@ bool motionUp(int x, int y, int slop)
rebuildWebTextView();
displaySoftKeyboard(true);
} else {
+ clearTextEntry();
setFollowedLink(true);
if (type != NORMAL_CACHEDNODETYPE)
overrideUrlLoading(result->getExport());