From: toyomoyo <toyomoyo>
Date: Thu, 22 Feb 2007 03:22:31 +0000 (+0000)
Subject: merged fix for MDL-8577, message textarea too big to fit
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c9c249a18569d31064c7abd174f773dcdc0793ec;p=moodle.git

merged fix for MDL-8577, message textarea too big to fit
---

diff --git a/mod/forum/post_form.php b/mod/forum/post_form.php
index 503c712099..86cd306827 100644
--- a/mod/forum/post_form.php
+++ b/mod/forum/post_form.php
@@ -25,7 +25,7 @@ class mod_forum_post_form extends moodleform {
 		$mform->setType('subject', PARAM_TEXT);
 		$mform->addRule('subject', get_string('required'), 'required', null, 'client');
 
-		$mform->addElement('htmleditor', 'message', get_string('message', 'forum'), array('cols'=>85, 'rows'=>30));
+		$mform->addElement('htmleditor', 'message', get_string('message', 'forum'), array('cols'=>50, 'rows'=>30));
 		$mform->setType('message', PARAM_RAW);
 		$mform->addRule('message', get_string('required'), 'required', null, 'client');
         $mform->setHelpButton('message', array('reading', 'writing', 'questions', 'richtext'), false, 'editorhelpbutton');