MDL-15804 smaller online assignment text box size
This commit is contained in:
@@ -267,7 +267,7 @@ class mod_assignment_online_edit_form extends moodleform {
|
||||
$mform =& $this->_form;
|
||||
|
||||
// visible elements
|
||||
$mform->addElement('htmleditor', 'text', get_string('submission', 'assignment'), array('cols'=>85, 'rows'=>30));
|
||||
$mform->addElement('htmleditor', 'text', get_string('submission', 'assignment'), array('cols'=>60, 'rows'=>30));
|
||||
$mform->setType('text', PARAM_RAW); // to be cleaned before display
|
||||
$mform->setHelpButton('text', array('reading', 'writing', 'richtext'), false, 'editorhelpbutton');
|
||||
$mform->addRule('text', get_string('required'), 'required', null, 'client');
|
||||
|
||||
Reference in New Issue
Block a user