MDL-55593 form: Wrap skip validation variable in script tag
Part of MDL-55071
This commit is contained in:
committed by
Dan Poltawski
parent
928177d139
commit
3264bf5b56
+1
-1
@@ -2363,7 +2363,7 @@ require(["core/event", "jquery"], function(Event, $) {
|
||||
$PAGE->requires->js_amd_inline($js);
|
||||
|
||||
// Global variable used to skip the client validation.
|
||||
return 'var skipClientValidation = false;';
|
||||
return html_writer::tag('script', 'var skipClientValidation = false;');
|
||||
} // end func getValidationScript
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user