Commit 3264bf5b authored by Frederic Massart's avatar Frederic Massart Committed by Dan Poltawski
Browse files

MDL-55593 form: Wrap skip validation variable in script tag

Part of MDL-55071
parent 928177d1
......@@ -2363,7 +2363,7 @@ require(["core/event", "jquery"], function(Event, $) {
// Global variable used to skip the client validation.
return 'var skipClientValidation = false;';
return html_writer::tag('script', 'var skipClientValidation = false;');
} // end func getValidationScript
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment