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

OO-3992: put, not set, the initial panel for errors

parent 70ec578f
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ public class BCCourseNodeRunController extends BasicController implements Activa
if(item == null){
noFolder = true;
BCCourseNodeNoFolderForm noFolderForm = new BCCourseNodeNoFolderForm(ureq, getWindowControl());
setInitialComponent(noFolderForm.getInitialComponent());
putInitialPanel(noFolderForm.getInitialComponent());
} else if(item instanceof VFSContainer){
target = new NamedContainerImpl(courseNode.getShortTitle(), (VFSContainer) item);
}
......@@ -138,7 +138,7 @@ public class BCCourseNodeRunController extends BasicController implements Activa
if(item == null) {
noFolder = true;
BCCourseNodeNoFolderForm noFolderForm = new BCCourseNodeNoFolderForm(ureq, getWindowControl());
setInitialComponent(noFolderForm.getInitialComponent());
putInitialPanel(noFolderForm.getInitialComponent());
scallback = new ReadOnlyCallback();
} else {
target = new NamedContainerImpl(courseNode.getShortTitle(), item);
......
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