Permalink
Browse files

MDL-40412 course Expanding the height of module description fields.

Expanding the default height of mod descriptions to 10, which gives
you 3 real lines once TinyMCE Loads.
  • Loading branch information...
1 parent 32e550a commit 74d5fbac0412c1f34066d59d5915f04169ab9ebb @merrill-oakland merrill-oakland committed Jul 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/moodleform_mod.php
@@ -811,7 +811,7 @@ function add_intro_editor($required=false, $customlabel=null) {
$mform = $this->_form;
$label = is_null($customlabel) ? get_string('moduleintro') : $customlabel;
- $mform->addElement('editor', 'introeditor', $label, array('rows' => 3), array('maxfiles' => EDITOR_UNLIMITED_FILES,
+ $mform->addElement('editor', 'introeditor', $label, array('rows' => 10), array('maxfiles' => EDITOR_UNLIMITED_FILES,
'noclean' => true, 'context' => $this->context, 'collapsed' => true));
$mform->setType('introeditor', PARAM_RAW); // no XSS prevention here, users must be trusted
if ($required) {

0 comments on commit 74d5fba

Please sign in to comment.