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

OO-2959: allow more digits for match interaction in the score per answers table

parent 74a068fd
No related branches found
No related tags found
No related merge requests found
/**
* <a href="http://www.openolat.org">
* OpenOLAT - Online Learning and Training</a><br>
* <p>
......@@ -189,10 +190,10 @@ public class MatchScoreController extends AssessmentItemRefEditorController impl
DirectedPairValue dKey = new DirectedPairValue(sourceIdentifier, targetIdentifier);
if(!scoreWrappers.containsKey(dKey)) {
String key = sourceIdentifier.toString() + "-" + targetIdentifier.toString();
TextElement textEl = uifactory.addTextElement(key, null, 4, "", scoreCont);
TextElement textEl = uifactory.addTextElement(key, null, 8, "", scoreCont);
MatchScoreWrapper scoreWrapper = new MatchScoreWrapper(sourceIdentifier, targetIdentifier, textEl);
textEl.setDomReplacementWrapperRequired(false);
textEl.setDisplaySize(4);
textEl.setDisplaySize(5);
textEl.setUserObject(scoreWrapper);
textEl.setEnabled(!restrictedEdit);
......
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