Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_sites_all
Commits
3f4fa892
Commit
3f4fa892
authored
Mar 02, 2022
by
Chris Shantz
Browse files
Merge branch '1.0.x' into prod/1.0.x
parents
deb3ac51
06ded7e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
uw_sites_all.module
View file @
3f4fa892
...
...
@@ -142,3 +142,15 @@ function uw_sites_all_webform_presave(WebformInterface $webform): void {
$webform
->
setElements
(
$elements
);
}
}
/**
* Implements hook_library_info_alter().
*/
function
uw_sites_all_library_info_alter
(
array
&
$libraries
,
string
$extension
):
void
{
// A JS aggregation bug stopped CKEditor loading on Pantheon in LB blocks.
// Disable aggregation, disable clientside_validation_jquery, or do this.
// @see https://www.drupal.org/project/clientside_validation/issues/3211333#comment-14162507
if
(
isset
(
$libraries
[
'cv.jquery.validate'
][
'js'
][
'js/cv.jquery.validate.js'
]))
{
$libraries
[
'cv.jquery.validate'
][
'js'
][
'js/cv.jquery.validate.js'
][
'preprocess'
]
=
FALSE
;
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment