diff --git a/classes/class.ilPlagScanExerciseUIHookGUI.php b/classes/class.ilPlagScanExerciseUIHookGUI.php index 6a5d988c414b2251524d758e41cf78d4ed74f7cf..5edce062d6fbcecb019a04fcc3a3aa6689e55d42 100644 --- a/classes/class.ilPlagScanExerciseUIHookGUI.php +++ b/classes/class.ilPlagScanExerciseUIHookGUI.php @@ -157,9 +157,11 @@ class ilPlagScanExerciseUIHookGUI extends ilUIHookPluginGUI $DIC->ctrl()->clearParametersByClass('ilExerciseManagementGUI'); $DIC->ctrl()->setParameterByClass('ilExerciseManagementGUI', 'subchk_all', $ass_id); $DIC->toolbar()->addSeparator(); - $DIC->toolbar()->addLink( - $this->plugin_object->txt('check_documents'), - $DIC->ctrl()->getLinkTargetByClass('ilExerciseManagementGUI', 'members') + $DIC->toolbar()->addComponent( + $DIC->ui()->factory()->button()->standard( + $this->plugin_object->txt('check_documents'), + $DIC->ctrl()->getLinkTargetByClass('ilExerciseManagementGUI', 'members') + ) ); $table = new AssignmentTableGUI( $ex_management,