Fix for issue
authorhyun lee <hyunn.lee@samsung.com>
Fri, 2 Aug 2013 12:50:34 +0000 (21:50 +0900)
committerhyun lee <hyunn.lee@samsung.com>
Fri, 2 Aug 2013 12:50:34 +0000 (21:50 +0900)
Change-Id: Idfb91f6310a5a8b2d74b6f89439cad978379edce
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
src/controls/FWebCtrl_Web.cpp
src/controls/FWebCtrl_WebImpl.cpp

index f2d63b8..09b71aa 100755 (executable)
@@ -706,6 +706,8 @@ _Web::SetEdgeReachedEvent(_WebEdgeType type)
 bool
 _Web::OnTouchPressed(const _Control& source, const _TouchInfo& touchInfo)
 {
+       evas_object_focus_set(GetWebNativeNode(), EINA_TRUE);
+
        if (__pEflWebkit.get())
        {
                __edgeType = WEB_EDGE_NONE;
index e2ce55c..d1d4f5c 100755 (executable)
@@ -4737,8 +4737,6 @@ _WebImpl::OnFocusGained(const _ControlImpl& source)
        SysAssertf(pSettings, "Failed to get webkit instance.");
        ewk_settings_clear_text_selection_automatically_set(pSettings, true);
 
-       evas_object_focus_set(__pWebCore->GetWebNativeNode(), EINA_TRUE);
-
        return false;
 }