mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-24 02:58:43 +02:00
Make dashlet that needs to execute JS be able to do so in the first paint and when refreshed
This commit is contained in:
@@ -61,4 +61,9 @@ class DashboardGrid extends UIBlock
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function GetSubBlocks(): array
|
||||
{
|
||||
return $this->aSlots;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -36,10 +36,6 @@ class DashboardGridSlot extends UIBlock
|
||||
$this->iHeight = $iHeight;
|
||||
}
|
||||
|
||||
public function GetSubBlocks(): array
|
||||
{
|
||||
return [$this->oUIBlock];
|
||||
}
|
||||
|
||||
public function HasPositionX(): bool
|
||||
{
|
||||
@@ -116,4 +112,9 @@ class DashboardGridSlot extends UIBlock
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function GetSubBlocks(): array
|
||||
{
|
||||
return [$this->oDashlet];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user