MDL-32797 wiki 2.0: Default value for "First page name" is not set
This commit is contained in:
@@ -65,8 +65,6 @@ class mod_wiki_mod_form extends moodleform_mod {
|
||||
$attr = array('size' => '20');
|
||||
if (!empty($this->_instance)) {
|
||||
$attr['disabled'] = 'disabled';
|
||||
} else {
|
||||
$attr['value'] = get_string('firstpagetitle', 'wiki');
|
||||
}
|
||||
|
||||
$mform->addElement('text', 'firstpagetitle', get_string('firstpagetitle', 'wiki'), $attr);
|
||||
|
||||
Reference in New Issue
Block a user