New lines are inserted in message text-box when press CTRL+M in Chatter.
authorRyuan Choi <ryuan.choi@samsung.com>
Fri, 4 Oct 2013 05:06:59 +0000 (14:06 +0900)
committerRyuan Choi <ryuan.choi@samsung.com>
Fri, 4 Oct 2013 05:10:11 +0000 (14:10 +0900)
[Title] New lines are inserted in message text-box when press CTRL+M in Chatter.
[Issue#] N_SE-52737
[Problem] Linux generate \r for Ctrl + M and it was translated to newline in webkit.
[Cause] This behavior is not clear on all browsers.
[Solution] Removed translation

Change-Id: I698261d14a5f9c72af2b21f9eec046bc2937ef1a

Source/WebCore/platform/efl/EflKeyboardUtilities.cpp

index 3548435..a816fe2 100644 (file)
@@ -290,7 +290,6 @@ static const KeyPressEntry keyPressEntries[] = {
     { '\t',   0,                  "InsertTab"                                   },
     { '\t',   ShiftKey,           "InsertBacktab"                               },
     { '\r',   0,                  "InsertNewline"                               },
-    { '\r',   CtrlKey,            "InsertNewline"                               },
     { '\r',   AltKey,             "InsertNewline"                               },
     { '\r',   AltKey | ShiftKey,  "InsertNewline"                               },
 };