webengine/osswebengine/WebKit/s60/webview/WebFepTextEditor.cpp
branchRCL_3
changeset 40 8bfb9186a8b8
parent 37 ac77f89b1d9e
child 41 4bd5176e1bc8
--- a/webengine/osswebengine/WebKit/s60/webview/WebFepTextEditor.cpp	Tue Apr 27 17:46:17 2010 +0300
+++ b/webengine/osswebengine/WebKit/s60/webview/WebFepTextEditor.cpp	Tue May 11 17:13:44 2010 +0300
@@ -351,7 +351,7 @@
 // -----------------------------------------------------------------------------
 void CWebFepTextEditor::CancelFepInlineEdit()
 {
-    if (IsTextAreaFocused()) {
+    if (IsTextAreaFocused()||IsInputElementFocused()) {
         if (m_inlineEditText && DocumentLengthForFep() < DocumentMaximumLengthForFep()) {
             HBufC* tempBuf = HBufC::NewLC(DocumentLengthForFep());
             TPtr ptr(tempBuf->Des());