Merge branch 'MDL-39446' of git://github.com/timhunt/moodle

This commit is contained in:
Dan Poltawski 2013-05-06 14:47:58 +01:00
commit c892205617

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);