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

OO-990: fix check of concurrent edit

parent 78ac7eec
No related branches found
No related tags found
No related merge requests found
......@@ -805,9 +805,9 @@ public class CourseRuntimeController extends RepositoryEntryRuntimeController im
ICourse course = CourseFactory.loadCourse(getRepositoryEntry().getOlatResource());
CourseNode currentCourseNode = getCurrentCourseNode();
EditorMainController ctrl = CourseFactory.createEditorController(ureq, getWindowControl(), course, currentCourseNode);
editorCtrl = pushController(ureq, "Editor", ctrl);
//user activity logger which was initialized with course run
if(editorCtrl != null){
if(ctrl != null){
editorCtrl = pushController(ureq, "Editor", ctrl);
listenTo(editorCtrl);
setIsInEditor(true);
currentToolCtr = editorCtrl;
......
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