MDL-39446 calculated qtype: make answer formula input bigger

This makes it easier for teachers editing questions.
This commit is contained in:
Tim Hunt 2013-05-01 19:28:58 +01:00
parent 95190fda69
commit f16d5f979b

View File

@ -78,6 +78,7 @@ class qtype_calculated_edit_form extends qtype_numerical_edit_form {
$tolerance = $answeroptions[1];
// Update Answer options group to contain only answer and grade fields.
$answeroptions[0]->setSize(55);
$answeroptions = array($answeroptions[0], $answeroptions[2]);
$repeated[0]->setElements($answeroptions);