From: prathmesh.m Date: Tue, 2 Apr 2013 06:18:50 +0000 (+0900) Subject: Fixed paste issue after selecting word in inputbox X-Git-Tag: 2.1_release~235^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a897895ed422cc617702eac11c8e866ac74816dd;p=framework%2Fweb%2Fwebkit-efl.git Fixed paste issue after selecting word in inputbox [Title] Fixed paste issue after selecting word in inputbox [Issue#] WEB-2907 [Problem] Copy some text and paste in edit filed, the seleced text is not getting replaced insteed getting appended [Cause] Selection was getting cleared before the paste call was made due to with the paste function was not getting the selected text so it was appending isteed of replacing the text [Solution] Removed the code for clearing of the text Change-Id: I24d643abd5d4e6a597c5970c8dea36c20804a869 --- diff --git a/Source/WebKit2/UIProcess/WebPageProxy.cpp b/Source/WebKit2/UIProcess/WebPageProxy.cpp index 2d86888..f81ca4d 100755 --- a/Source/WebKit2/UIProcess/WebPageProxy.cpp +++ b/Source/WebKit2/UIProcess/WebPageProxy.cpp @@ -3449,11 +3449,6 @@ void WebPageProxy::contextMenuItemSelected(const WebContextMenuItemData& item) return; } -#if ENABLE(TIZEN_WEBKIT2_TEXT_SELECTION) - if (item.action() == ContextMenuItemTagPaste) - m_pageClient->setIsTextSelectionMode(false); -#endif - #if PLATFORM(MAC) if (item.action() == ContextMenuItemTagSmartCopyPaste) { setSmartInsertDeleteEnabled(!isSmartInsertDeleteEnabled());