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

OO-426: fix the path of the media folder for the HTML editor of "correct solution" in QTI editor

parent b1963186
No related branches found
No related tags found
No related merge requests found
......@@ -269,7 +269,7 @@ public class ItemMetadataFormController extends FormBasicController {
solution = uifactory.addRichTextElementForStringData("solution", "form.imd.correctsolution", item.getQuestion().getSolutionText(), 8,
-1, false, true, qti.getBaseDir(), null, formLayout, ureq.getUserSession(), getWindowControl());
// set upload dir to the media dir
hint.getEditorConfiguration().setFileBrowserUploadRelPath("media");
solution.getEditorConfiguration().setFileBrowserUploadRelPath("media");
if (itemControl.isSolution()) {
showSolution.select("y", true);
} else {
......
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