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

OO-3869: clean the author test session after test / test part changes

parent 419fd833
No related branches found
No related tags found
No related merge requests found
......@@ -439,11 +439,13 @@ public class AssessmentTestComposerController extends MainLayoutBasicController
AssessmentTestEvent ate = (AssessmentTestEvent)event;
if(ate == AssessmentTestEvent.ASSESSMENT_TEST_CHANGED_EVENT) {
AssessmentTest ast = assessmentTestBuilder.getAssessmentTest();
assessmentChanged(ureq);
doUpdate(ast.getIdentifier(), ast.getTitle());
}
} else if(event instanceof AssessmentTestPartEvent) {
AssessmentTestPartEvent atpe = (AssessmentTestPartEvent)event;
if(atpe == AssessmentTestPartEvent.ASSESSMENT_TEST_PART_CHANGED_EVENT) {
assessmentChanged(ureq);
doSaveAssessmentTest(ureq, null);
}
} else if(event instanceof AssessmentSectionEvent) {
......
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