MDL-55417 forms: Improve some of the new templates for form elements
Also - un-deprecate selectwithlink (Fred convinced me). Part of MDL-55071
This commit is contained in:
committed by
Dan Poltawski
parent
97a00c9b8e
commit
7e2cd5b84e
+2
-2
@@ -415,12 +415,12 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element implements templatab
|
||||
$context['value'] = $text;
|
||||
$context['format'] = $format;
|
||||
|
||||
$str .= $OUTPUT->render_from_template('core_form/editor_textarea', $context);
|
||||
|
||||
if (!is_null($this->getAttribute('onblur')) && !is_null($this->getAttribute('onchange'))) {
|
||||
$context['changelistener'] = true;
|
||||
}
|
||||
|
||||
$str .= $OUTPUT->render_from_template('core_form/editor_textarea', $context);
|
||||
|
||||
// during moodle installation, user area doesn't exist
|
||||
// so we need to disable filepicker here.
|
||||
if (!during_initial_install() && empty($CFG->adminsetuppending)) {
|
||||
|
||||
Reference in New Issue
Block a user