Fixed Nabi Issues
[apps/osp/Internet.git] / src / IntEditHomePageForm.cpp
index 0154076..88256ae 100644 (file)
@@ -120,6 +120,11 @@ EditHomePageForm::OnSceneDeactivated(const SceneId& currentSceneId, const SceneI
 void
 EditHomePageForm::OnFormBackRequested(Form& source)
 {
+       ArrayList* pArgList = null;
+       pArgList = new(std::nothrow) ArrayList();
+       pArgList->Construct();
+       pArgList->Add(*new(std::nothrow) String(CommonUtil::GetString(L"IDS_BR_SK_CANCEL")));
+       SceneManager::GetInstance()->GoBackward(BackwardSceneTransition(), pArgList);
 
 }
 
@@ -128,6 +133,7 @@ EditHomePageForm::OnActionPerformed(const Control& source, int actionId)
 {
        ArrayList* pArgList = null;
        pArgList = new(std::nothrow) ArrayList();
+       pArgList->Construct();
        switch(actionId)
        {
        case IDA_BUTTON_DONE: