Fix for issue
authorhyun lee <hyunn.lee@samsung.com>
Wed, 31 Jul 2013 11:21:21 +0000 (20:21 +0900)
committerhyun lee <hyunn.lee@samsung.com>
Wed, 31 Jul 2013 11:21:21 +0000 (20:21 +0900)
Change-Id: I61aca644f0837a2362bbdb767d359cfb39123d44
Signed-off-by: hyun lee <hyunn.lee@samsung.com>
src/controls/FWebCtrl_WebPopup.cpp

index 9d99d5e..e1ca104 100755 (executable)
@@ -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;