From ef8aa61f4936e077548ad6231430d4cc97551503 Mon Sep 17 00:00:00 2001 From: Lukasz Krok Date: Thu, 5 Jun 2014 15:52:28 +0200 Subject: [PATCH] Fix for the Ordered / Unordered Icon Bug in email application Issue : CBWEBVIEW-822 Cause : _ewk_view_text_style_state_cb callback was not executed on list style change in email application. Solution : Query for selection style on editor command execution request. Change-Id: I4fcc789c7d7ba45f76c0d00f96ecccd43dc42eb7 --- tizen_src/impl/eweb_view.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tizen_src/impl/eweb_view.cc b/tizen_src/impl/eweb_view.cc index 0d9cdba..b25df5f 100644 --- a/tizen_src/impl/eweb_view.cc +++ b/tizen_src/impl/eweb_view.cc @@ -536,6 +536,9 @@ void EWebView::ExecuteEditCommand(const char* command, const char* value) { RenderViewHostImpl* rvhi = static_cast(web_contents->GetRenderViewHost()); rvhi->ExecuteEditCommand(command, value); + + if(!strcmp(command, "InsertOrderedList") || !strcmp(command, "InsertUnorderedList")) + QuerySelectionStyle(); } void EWebView::SendOrientationChangeEventIfNeeded(int orientation) { -- 2.7.4