Fix keypad closing issue
authorSangYong Park <sy302.park@samsung.com>
Wed, 5 Jun 2013 12:36:24 +0000 (21:36 +0900)
committerGerrit Code Review <gerrit2@kim11>
Mon, 10 Jun 2013 04:42:53 +0000 (13:42 +0900)
[Title] Fix keypad closing issue
[Issue#] P130605-2496
[Problem] Keypad was closed when tap ok button
[Cause] Condition for keypad closing is invalid
[Solution] Change condition

Change-Id: I7b1356663d5958cbfa2dc4ebbcc9c0b35695874a

Source/WebKit2/UIProcess/WebPageProxy.cpp

index df6ab7f..f9a4d26 100755 (executable)
@@ -3853,7 +3853,7 @@ void WebPageProxy::didReceiveEvent(uint32_t opaqueType, bool handled)
 
 #if ENABLE(TIZEN_ISF_PORT)
         InputMethodContextEfl* inputMethodContext = static_cast<PageClientImpl*>(m_pageClient)->viewImpl()->inputMethodContext();
-        if (inputMethodContext && event.keyIdentifier() == "Enter" && inputMethodContext->autoCapitalType() == ECORE_IMF_AUTOCAPITAL_TYPE_NONE)
+        if (event.type() == WebEvent::KeyDown && event.keyIdentifier() == "Enter" && inputMethodContext && inputMethodContext->autoCapitalType() == ECORE_IMF_AUTOCAPITAL_TYPE_NONE)
             inputMethodContext->hideIMFContext();
 #endif