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

no-jira: don't cache BigBlueButton configuration panel

New configuration panel every time the segment is clicked to prevent
loosing the state of the checkbox
parent 239b6268
No related branches found
No related tags found
No related merge requests found
...@@ -145,13 +145,12 @@ public class BigBlueButtonAdminController extends BasicController implements Act ...@@ -145,13 +145,12 @@ public class BigBlueButtonAdminController extends BasicController implements Act
} }
private void doOpenConfiguration(UserRequest ureq) { private void doOpenConfiguration(UserRequest ureq) {
if(configCtrl == null) { removeAsListenerAndDispose(configCtrl);
WindowControl bwControl = addToHistory(ureq, OresHelper.createOLATResourceableInstance("Configuration", 0l), null);
configCtrl = new BigBlueButtonConfigurationController(ureq, bwControl); WindowControl bwControl = addToHistory(ureq, OresHelper.createOLATResourceableInstance("Configuration", 0l), null);
listenTo(configCtrl); configCtrl = new BigBlueButtonConfigurationController(ureq, bwControl);
} else { listenTo(configCtrl);
addToHistory(ureq, configCtrl);
}
mainVC.put("segmentCmp", configCtrl.getInitialComponent()); mainVC.put("segmentCmp", configCtrl.getInitialComponent());
} }
......
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