Minahito
minah****@users*****
2006年 8月 5日 (土) 22:23:00 JST
Index: xoops2jp/html/modules/user/admin/actions/MailjobSendAction.class.php diff -u xoops2jp/html/modules/user/admin/actions/MailjobSendAction.class.php:1.1.2.3 xoops2jp/html/modules/user/admin/actions/MailjobSendAction.class.php:1.1.2.4 --- xoops2jp/html/modules/user/admin/actions/MailjobSendAction.class.php:1.1.2.3 Thu Jul 13 19:45:42 2006 +++ xoops2jp/html/modules/user/admin/actions/MailjobSendAction.class.php Sat Aug 5 22:23:00 2006 @@ -44,6 +44,10 @@ return USER_FRAME_VIEW_ERROR; } + if (xoops_getrequest('_form_control_cancel') != null) { + return USER_FRAME_VIEW_CANCEL; + } + $this->mActionForm->fetch(); $this->mActionForm->validate(); @@ -83,6 +87,11 @@ $render->setAttribute('object', $this->mMailjob); $render->setAttribute('actionForm', $this->mActionForm); } + + function executeViewCancel(&$controller, &$xoopsUser, &$render) + { + $controller->executeForward('./index.php?action=MailjobList'); + } /** * [Notice]