From: Hoseon LEE Date: Thu, 24 Jan 2013 04:47:05 +0000 (+0900) Subject: Adding the plugin loading init in reset widget process X-Git-Tag: 2.1b_release~22^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1eda165caedb39e16662bdb1b1bc4c71b41dfb21;p=platform%2Fframework%2Fweb%2Fwrt.git Adding the plugin loading init in reset widget process [Issue#] N/A [Problem] App can't get the latest bundle data in onload event when app get the reset event. [Cause] WRT set the latest bundle data in loadFinisdedCallback when app get the reset event. But it is too late. And, in the reset widget process does not have initializePluginLoading. [Solution] Adding the plugin loading init in reset widget process. [SCMRequest] N/A Change-Id: Ib292afffccddaa957b5ba6abe4e804d0031ad980 --- diff --git a/src/view/webkit/view_logic.cpp b/src/view/webkit/view_logic.cpp index 6ac9da2..caa04f1 100755 --- a/src/view/webkit/view_logic.cpp +++ b/src/view/webkit/view_logic.cpp @@ -361,6 +361,8 @@ void ViewLogic::resetWidget() DPL::FromUTF8String(requestedUri.c_str()), m_model); + initializePluginLoading(); + // webview activated PluginModuleSupport::resume(m_ewkContext); m_currentUri = DPL::ToUTF8String(*servicedUri);