MDL-51948 core: Patch core areas for LTR forms
Part of MDL-55071
This commit is contained in:
committed by
Dan Poltawski
parent
fc7f69e7e8
commit
525ef9c8b4
@@ -32,6 +32,7 @@ class note_edit_form extends moodleform {
|
||||
$mform->addElement('textarea', 'content', get_string('content', 'notes'), array('rows' => 15, 'cols' => 40));
|
||||
$mform->setType('content', PARAM_RAW);
|
||||
$mform->addRule('content', get_string('nocontent', 'notes'), 'required', null, 'client');
|
||||
$mform->setForceLtr('content', false);
|
||||
|
||||
$mform->addElement('select', 'publishstate', get_string('publishstate', 'notes'), note_get_state_names());
|
||||
$mform->setDefault('publishstate', NOTES_STATE_PUBLIC);
|
||||
|
||||
Reference in New Issue
Block a user