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

OO-2138: calendar container can be null

parent f37890d2
No related branches found
No related tags found
No related merge requests found
......@@ -372,7 +372,9 @@ public class CourseOptionsController extends FormBasicController {
private void updateToolbar() {
boolean enabled = toolbarEl.isSelected(0);
calendarCont.setVisible(enabled);
if(calendarCont != null) {
calendarCont.setVisible(enabled);
}
chatCont.setVisible(enabled);
glossaryCont.setVisible(enabled);
}
......
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