fixed addStopFieldsetElements of submitbutton

This commit is contained in:
skodak
2006-11-29 20:57:28 +00:00
parent d6d049718c
commit 2495b9a128
+1 -1
View File
@@ -98,7 +98,7 @@ class forum_post_form extends moodleform {
$submit_string = get_string('posttoforum', 'forum');
}
$mform->addElement('submit', 'submitbutton', $submit_string);
$renderer->addStopFieldsetElements('submit');
$renderer->addStopFieldsetElements('submitbutton');
$mform->addElement('hidden', 'course');
$mform->setType('course', PARAM_INT);