fix keypad issue
authorHyunseok Yang <hs0219.yang@samsung.com>
Mon, 19 Aug 2013 11:15:57 +0000 (20:15 +0900)
committerHyunseok Yang <hs0219.yang@samsung.com>
Mon, 19 Aug 2013 11:15:57 +0000 (20:15 +0900)
Change-Id: I50fb897a7f8e2f3a511f166125e70c6528035074
Signed-off-by: Hyunseok Yang <hs0219.yang@samsung.com>
src/controls/FWebCtrl_Web.cpp

index 802f9ff..3e084f1 100755 (executable)
@@ -1181,13 +1181,14 @@ _Web::IsFocusEnd(void)
 bool
 _Web::OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo)
 {
+       /*
        _KeyCode keyCode = keyInfo.GetKeyCode();
 
        if (IsFocusEnd() == true)
        {
                SetFocusEnd(false);
                evas_object_focus_set(GetWebNativeNode(), EINA_FALSE);
-               return false;
+               return true;
        }
 
        switch(keyCode)
@@ -1195,15 +1196,15 @@ _Web::OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo)
        case _KEY_UP:
        case _KEY_DOWN:
                evas_object_focus_set(GetWebNativeNode(), EINA_FALSE);
-               return false;
+               return true;
                break;
        default:
                break;
        }
 
        evas_object_focus_set(GetWebNativeNode(), EINA_TRUE);
-
-       return true;
+       */
+       return false;
 }