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

This commit is contained in:
Andrew Nicols 2021-04-19 09:56:31 +08:00
parent efb3d4e7a7
commit a48a917477

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();