From 7aa544c4316cbabda3f235f43592538bc9f3b30a Mon Sep 17 00:00:00 2001 From: hyun lee Date: Wed, 31 Jul 2013 20:21:21 +0900 Subject: [PATCH] Fix for issue Change-Id: I61aca644f0837a2362bbdb767d359cfb39123d44 Signed-off-by: hyun lee --- src/controls/FWebCtrl_WebPopup.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/controls/FWebCtrl_WebPopup.cpp b/src/controls/FWebCtrl_WebPopup.cpp index 9d99d5e..e1ca104 100755 --- a/src/controls/FWebCtrl_WebPopup.cpp +++ b/src/controls/FWebCtrl_WebPopup.cpp @@ -104,6 +104,9 @@ _WebPopup::ShowPopup(void) { result r = E_SUCCESS; + _WebManager* pWebManager = _WebManager::GetInstance(); + pWebManager->SetActivePopup(this); + r = SetShowState(true); SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r)); @@ -122,11 +125,11 @@ _WebPopup::HidePopup(int modalResult) r = SetShowState(false); SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r)); + _WebManager* pWebManager = _WebManager::GetInstance(); + pWebManager->RemoveActivePopup(this); + if (__isModal) { - _WebManager* pWebManager = _WebManager::GetInstance(); - pWebManager->RemoveActivePopup(this); - __modal = modalResult; __isModal = false; -- 2.7.4