mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 11:08:45 +02:00
Merge remote-tracking branch 'origin/feature/5655-edit-object-in-modal' into develop
# Conflicts: # pages/ajax.render.php
This commit is contained in:
@@ -165,7 +165,7 @@ abstract class Controller
|
||||
$this->CheckAccess();
|
||||
$this->m_sOperation = utils::ReadParam('operation', $this->m_sDefaultOperation);
|
||||
|
||||
$sMethodName = 'Operation'.$this->m_sOperation;
|
||||
$sMethodName = 'Operation'.utils::ToCamelCase($this->m_sOperation);
|
||||
$oKPI = new ExecutionKPI();
|
||||
$oKPI->ComputeAndReport('Starting operation '.$this->m_sOperation);
|
||||
if (method_exists($this, $sMethodName))
|
||||
@@ -201,7 +201,7 @@ abstract class Controller
|
||||
$this->CheckAccess();
|
||||
$this->m_sOperation = utils::ReadParam('operation', $this->m_sDefaultOperation);
|
||||
|
||||
$sMethodName = 'Operation'.$this->m_sOperation;
|
||||
$sMethodName = 'Operation'.utils::ToCamelCase($this->m_sOperation);
|
||||
if (method_exists($this, $sMethodName))
|
||||
{
|
||||
$this->$sMethodName();
|
||||
|
||||
@@ -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