[Title] Remove selection handle after select image in e-mail app
[Issue#] P130515-5443
[Problem] Selection handles are not disappear after select image in e-mail app
[Cause] When select the image then webview is focused out, so It doesn't have caret. at that time webkit is excute return before text selection mode to false.
[Solution] Add text selection mode to false before return.
Change-Id: I47094afb07229f53324643f621299facb8b0c116
if (!editor.selectionIsNone && !editor.selectionIsRange)
caretRect = editor.selectionRect;
if (!editor.selectionIsNone && !editor.selectionIsRange)
caretRect = editor.selectionRect;
- if (!caretRect.isEmpty())
+ if (!caretRect.isEmpty()) {
+ setIsTextSelectionMode(false);
} else {
WebCore::IntRect leftRect;
WebCore::IntRect rightRect;
} else {
WebCore::IntRect leftRect;
WebCore::IntRect rightRect;