From 09212fc42ed13d339e43e3a2388b69b95e72137a Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Fri, 24 Jun 2016 12:33:18 +0200 Subject: [PATCH] Removed redirect after page creation --- wcfsetup/install/files/lib/acp/form/PageAddForm.class.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/acp/form/PageAddForm.class.php b/wcfsetup/install/files/lib/acp/form/PageAddForm.class.php index c5dcc8c852..1e2f3ff205 100644 --- a/wcfsetup/install/files/lib/acp/form/PageAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/PageAddForm.class.php @@ -448,9 +448,11 @@ class PageAddForm extends AbstractForm { // call saved event $this->saved(); - // forward to page list - HeaderUtil::redirect(LinkHandler::getInstance()->getLink('PageList')); - exit; + // reset variables + $this->parentPageID = $this->isDisabled = $this->isLandingPage = 0; + $this->applicationPackageID = 1; + $this->name = ''; + $this->customURL = $this->title = $this->content = $this->metaDescription = $this->metaKeywords = $this->boxIDs = $this->aclValues = []; } /** -- 2.20.1