Skip to content

Commit

Permalink
fix default command target for sahs
Browse files Browse the repository at this point in the history
  • Loading branch information
iszmais authored and kergomard committed Aug 8, 2024
1 parent bc7f759 commit 40660ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Services/Object/classes/class.ilObjectListGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -3163,7 +3163,7 @@ public function getAsListItem(
if ($def_command['link'] ?? false) {
list($def_command['link'], $def_command['frame']) =
$this->modifySAHSlaunch($def_command['link'], $def_command['frame']);
$new_viewport = !in_array($this->getDefaultCommand()['frame'], ['', '_top', '_self', '_parent'], true); // Cannot use $def_command['frame']. $this->default_command has been edited.
$new_viewport = !in_array($def_command['frame'], ['', '_top', '_self', '_parent'], true);
$link = $this->ui->factory()
->link()
->standard($this->getTitle(), $def_command['link'])
Expand Down

0 comments on commit 40660ee

Please sign in to comment.