From: Matthias Schmidt Date: Tue, 20 Sep 2016 16:14:55 +0000 (+0200) Subject: Properly reset box position field after box creation X-Git-Tag: 3.0.0_Beta_1~61 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=985ffe04ed0b802c634728101a9153d15ea5a79f;p=GitHub%2FWoltLab%2FWCF.git Properly reset box position field after box creation --- diff --git a/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php b/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php index d21e0dc3e4..eed892230e 100644 --- a/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php +++ b/wcfsetup/install/files/lib/acp/form/BoxAddForm.class.php @@ -500,7 +500,8 @@ class BoxAddForm extends AbstractForm { WCF::getTPL()->assign('success', true); // reset variables - $this->position = $this->cssClassName = $this->name = ''; + $this->cssClassName = $this->name = ''; + $this->position = 'contentTop'; $this->showOrder = $this->boxControllerID = 0; $this->visibleEverywhere = $this->showHeader = 1; $this->title = $this->content = $this->images = $this->imageID = $this->pageIDs = $this->aclValues = [];