name of submit button changed to submitbutton

This commit is contained in:
skodak
2006-12-02 11:38:08 +00:00
parent 2acdaa6cd3
commit e4e29623f9
+2 -2
View File
@@ -49,9 +49,9 @@ class login_signup_form extends moodleform {
$mform->addRule('country', get_string('missingcountry'), 'required', null, 'client');
$mform->setDefault('country', '');
$mform->addElement('submit', 'submit', get_string('createaccount'));
$mform->addElement('submit', 'submitbutton', get_string('createaccount'));
$renderer->addStopFieldsetElements('submit');
$renderer->addStopFieldsetElements('submitbutton');
}
function definition_after_data(){