diff --git a/components/ILIAS/Container/Content/class.ilContainerRenderer.php b/components/ILIAS/Container/Content/class.ilContainerRenderer.php index d11dd19b9120..da230153eb48 100755 --- a/components/ILIAS/Container/Content/class.ilContainerRenderer.php +++ b/components/ILIAS/Container/Content/class.ilContainerRenderer.php @@ -1181,6 +1181,7 @@ protected function addItemGroupBlock(string $block_id, int $block_pos = 0): void $item_data["description"] ); $commands_html = $item_list_gui->getCommandsHTML(); + $commands_html .= $item_list_gui->getCustomModalsHTML(); // determine behaviour $item_group = new ilObjItemGroup($item_data["ref_id"]); diff --git a/components/ILIAS/ILIASObject/classes/class.ilObjectListGUI.php b/components/ILIAS/ILIASObject/classes/class.ilObjectListGUI.php index 2685cce1daea..102cde0b0646 100755 --- a/components/ILIAS/ILIASObject/classes/class.ilObjectListGUI.php +++ b/components/ILIAS/ILIASObject/classes/class.ilObjectListGUI.php @@ -2887,6 +2887,11 @@ public function getCommandsHTML(string $title = ''): string return $this->ui->renderer()->render($this->getCommandsDropdown($title, false)); } + public function getCustomModalsHTML(): string + { + return $this->ui->renderer()->render($this->cust_modals); + } + private function getCommandsDropdown(string $title, bool $for_header = false): StandardDropdown { $this->populateCommands($for_header);