From e250882df3ff5fccae5af129ad1f0113cc0ecc60 Mon Sep 17 00:00:00 2001 From: Stephan Winiker Date: Tue, 28 Jun 2022 18:15:24 +0200 Subject: [PATCH] Fixes Shown Preview Page when Locking is Enabled --- .../TestQuestionPool/classes/class.ilAssQuestionPageGUI.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Modules/TestQuestionPool/classes/class.ilAssQuestionPageGUI.php b/Modules/TestQuestionPool/classes/class.ilAssQuestionPageGUI.php index 9152a6116a80..db6c0e6c2f7c 100755 --- a/Modules/TestQuestionPool/classes/class.ilAssQuestionPageGUI.php +++ b/Modules/TestQuestionPool/classes/class.ilAssQuestionPageGUI.php @@ -68,6 +68,11 @@ public function showPage() // fau. return parent::showPage(); } + + public function finishEditing() + { + $this->ctrl->redirectByClass('ilAssQuestionPreviewGUI', ilAssQuestionPreviewGUI::CMD_SHOW); + } public function postOutputProcessing($output) {