Adding the plugin loading init in reset widget process
authorHoseon LEE <hoseon46.lee@samsung.com>
Thu, 24 Jan 2013 04:47:05 +0000 (13:47 +0900)
committerGerrit Code Review <gerrit2@kim11>
Sun, 27 Jan 2013 05:51:51 +0000 (14:51 +0900)
[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

src/view/webkit/view_logic.cpp

index 6ac9da2..caa04f1 100755 (executable)
@@ -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);