aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/course/contentmodules.php
diff options
context:
space:
mode:
authorRasmus Fuhse <fuhse@data-quest.de>2024-02-08 10:27:17 +0000
committerRasmus Fuhse <fuhse@data-quest.de>2024-02-08 10:27:17 +0000
commit12fac9c7b1c17de3448fda371ec2f17abdceee92 (patch)
tree146a4510b03e041cd3f6722573fff01fbbe3c365 /app/controllers/course/contentmodules.php
parent3ba1a2b7850c1c7b27257fdbaeb14ddf6b125418 (diff)
Resolve "Reiter aktualisieren sich verspätet"
Closes #3729 Merge request studip/studip!2591
Diffstat (limited to 'app/controllers/course/contentmodules.php')
-rw-r--r--app/controllers/course/contentmodules.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/course/contentmodules.php b/app/controllers/course/contentmodules.php
index 04eb846..7a54ee1 100644
--- a/app/controllers/course/contentmodules.php
+++ b/app/controllers/course/contentmodules.php
@@ -125,8 +125,10 @@ class Course_ContentmodulesController extends AuthenticatedController
$active_tool->store();
}
}
- //$this->redirect("course/contentmodules/trigger", ['cid' => $context->getId()]);
+ $this->redirect("course/contentmodules/trigger", ['cid' => $context->getId(), 'plugin_id' => $module->getPluginId()]);
+ return;
}
+ $active_tool = ToolActivation::find([$context->id, Request::int('plugin_id')]);
$template = $GLOBALS['template_factory']->open('tabs.php');
$template->navigation = Navigation::getItem('/course');
Navigation::getItem('/course/admin')->setActive(true);