Skip to content

Commit f28d3b7

Browse files
committed
MAGETWO-67634: Product Wizard: Use result type Layout instead of page layout magento#9129
- Merge Pull Request magento#9129 from klein0r/magento2:develop
2 parents c3040d3 + 21038b5 commit f28d3b7

File tree

1 file changed

+1
-3
lines changed
  • app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product

1 file changed

+1
-3
lines changed

app/code/Magento/ConfigurableProduct/Controller/Adminhtml/Product/Wizard.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ public function execute()
3838
$this->productBuilder->build($this->getRequest());
3939

4040
/** @var \Magento\Framework\View\Result\Layout $resultLayout */
41-
$resultLayout = $this->resultFactory->create(ResultFactory::TYPE_PAGE);
42-
$resultLayout->getLayout()->getUpdate()->removeHandle('default');
43-
41+
$resultLayout = $this->resultFactory->create(ResultFactory::TYPE_LAYOUT);
4442
return $resultLayout;
4543
}
4644
}

0 commit comments

Comments
 (0)