MDL-71369 admin: Apply form change checker to admin/category view

This commit is contained in:
Andrew Nicols
2021-05-21 09:58:16 +08:00
parent beefea6bad
commit 2a2e548f4c
+5
View File
@@ -158,4 +158,9 @@ echo $outputhtml;
echo html_writer::end_tag('fieldset');
echo html_writer::end_tag('form');
$PAGE->requires->yui_module('moodle-core-formchangechecker', 'M.core_formchangechecker.init', [[
'formid' => 'adminsettings'
]]);
$PAGE->requires->string_for_js('changesmadereallygoaway', 'moodle');
echo $OUTPUT->footer();