Skip to content
Snippets Groups Projects
Commit d678ca1c authored by srosse's avatar srosse
Browse files

OO-1762: make sure the full page is desactivated after an test made in assessment mode

parent e60e1f23
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,9 @@ import org.olat.core.gui.components.link.Link;
import org.olat.core.gui.components.link.LinkFactory;
import org.olat.core.gui.components.panel.Panel;
import org.olat.core.gui.components.velocity.VelocityContainer;
import org.olat.core.gui.control.ChiefController;
import org.olat.core.gui.control.Event;
import org.olat.core.gui.control.ScreenMode.Mode;
import org.olat.core.gui.control.WindowControl;
import org.olat.core.gui.control.controller.BasicController;
import org.olat.core.gui.control.generic.closablewrapper.CloseableModalController;
......@@ -361,6 +363,10 @@ public class AssessmentModeGuardController extends BasicController implements Ge
if(canContinue) {
cmc.deactivate();
//make sure to see the navigation bar
ChiefController cc = Windows.getWindows(ureq).getChiefController();
cc.getScreenMode().setMode(Mode.standard);
fireEvent(ureq, new Event("continue"));
String businessPath = "[MyCoursesSite:0]";
NewControllerFactory.getInstance().launch(businessPath, ureq, getWindowControl());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment