Skip to content

Commit

Permalink
changed max length of MatchingQuestion Input fiels for term and def t…
Browse files Browse the repository at this point in the history
…o 900 characters
  • Loading branch information
root committed Mar 29, 2019
1 parent a237411 commit 7163b93
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ class ilMatchingWizardInputGUI extends ilTextInputGUI
protected $qstObject = null;
protected $suffixes = array();
protected $hideImages = false;
protected $maxLengthInput = 900;

/**
* Constructor
Expand Down Expand Up @@ -335,7 +336,7 @@ function insert($a_tpl)
$tpl->setVariable("SINGLELINE_ID", $this->getPostVar() . "[answer][$i]");
$tpl->setVariable("SINGLELINE_ROW_NUMBER", $i);
$tpl->setVariable("SINGLELINE_POST_VAR", $this->getPostVar());
$tpl->setVariable("MAXLENGTH", $this->getMaxLength());
$tpl->setVariable("MAXLENGTH", $this->maxLengthInput);
if ($this->getDisabled())
{
$tpl->setVariable("DISABLED_SINGLELINE", " disabled=\"disabled\"");
Expand Down

0 comments on commit 7163b93

Please sign in to comment.