mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
N°5655 - Refactor object modification logic to a dedicated controller for both page / modal modes
This commit is contained in:
@@ -529,9 +529,9 @@ JS
|
||||
*/
|
||||
public function SetContentLayout(PageContent $oLayout)
|
||||
{
|
||||
$oPrevContentLayout=$this->oContentLayout;
|
||||
$oPrevContentLayout = $this->oContentLayout;
|
||||
$this->oContentLayout = $oLayout;
|
||||
foreach ($oPrevContentLayout->GetSubBlocks() as $oBlock){
|
||||
foreach ($oPrevContentLayout->GetSubBlocks() as $oBlock) {
|
||||
$this->AddUiBlock($oBlock);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user