Skip to content
Snippets Groups Projects
Commit 3fe388ea authored by User expired's avatar User expired
Browse files

OPENOLAT-584: hide the date dependent configuration option in the qti node edit form

parent d1ba9fd0
No related branches found
No related tags found
No related merge requests found
...@@ -128,6 +128,7 @@ public class QTI21EditForm extends FormBasicController { ...@@ -128,6 +128,7 @@ public class QTI21EditForm extends FormBasicController {
testDateDependentEl.select("xx", testDateDependent); testDateDependentEl.select("xx", testDateDependent);
testDateDependentEl.setHelpTextKey("qti.form.test.date.help", null); testDateDependentEl.setHelpTextKey("qti.form.test.date.help", null);
testDateDependentEl.addActionListener(FormEvent.ONCLICK); testDateDependentEl.addActionListener(FormEvent.ONCLICK);
testDateDependentEl.setVisible(testDateDependent); // @UIBK: only show this option if it has already been configured
Date startTestDate = modConfig.getDateValue(IQEditController.CONFIG_KEY_RESULTS_START_TEST_DATE); Date startTestDate = modConfig.getDateValue(IQEditController.CONFIG_KEY_RESULTS_START_TEST_DATE);
startTestDateElement = uifactory.addDateChooser("qti_form_start_test_date", "qti.form.date.start", startTestDate, formLayout); startTestDateElement = uifactory.addDateChooser("qti_form_start_test_date", "qti.form.date.start", startTestDate, formLayout);
......
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