Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
csp
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
csp
Merge requests
!31
[issue 3419681] move caching to the hook_rebuild
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
[issue 3419681] move caching to the hook_rebuild
issue/csp-3419681:3419681-mysql-error-general
into
2.x
Overview
3
Commits
2
Pipelines
9
Changes
3
3 unresolved threads
Hide all comments
Closed
webroru
requested to merge
issue/csp-3419681:3419681-mysql-error-general
into
2.x
1 year ago
Overview
3
Commits
2
Pipelines
9
Changes
3
3 unresolved threads
Hide all comments
Expand
Closes
#3419681
0
0
Merge request reports
Compare
2.x
version 8
6b161bc7
1 year ago
version 7
3065756d
1 year ago
version 6
b916a93d
1 year ago
version 5
aa4c6e1b
1 year ago
version 4
8ba34d97
1 year ago
version 3
b4d0173f
1 year ago
version 2
df77c56c
1 year ago
version 1
2349feee
1 year ago
2.x (base)
and
latest version
latest version
9b1d45d6
2 commits,
1 year ago
version 8
6b161bc7
2 commits,
1 year ago
version 7
3065756d
2 commits,
1 year ago
version 6
b916a93d
2 commits,
1 year ago
version 5
aa4c6e1b
2 commits,
1 year ago
version 4
8ba34d97
2 commits,
1 year ago
version 3
b4d0173f
1 commit,
1 year ago
version 2
df77c56c
1 commit,
1 year ago
version 1
2349feee
1 commit,
1 year ago
3 files
+
19
−
18
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
js/csp.admin.js
+
5
−
5
Options
@@ -3,7 +3,7 @@
* Defines Javascript behaviors for the csp module admin form.
*/
(
function
(
$
,
Drupal
)
{
(
function
setSummary
(
$
,
Drupal
)
{
/**
* Sets summary of policy tabs.
*
@@ -16,14 +16,14 @@
attach
(
context
)
{
$
(
context
)
.
find
(
'
[data-drupal-selector="edit-policies"] > details
'
)
.
each
(
function
()
{
.
each
(
function
detailsEach
()
{
Comment on lines
-19
to
+19
Geoff Appleby
@gapple
1 year ago
Maintainer
This change doesn't need to be added to an unrelated issue just to appease eslint
Please
register
or
sign in
to reply
const
$details
=
$
(
this
);
const
elementPrefix
=
$details
.
data
(
'
drupal-selector
'
);
const
createPolicyElementSelector
=
function
(
name
)
{
const
createPolicyElementSelector
=
function
selector
(
name
)
{
return
`[data-drupal-selector="
${
elementPrefix
}
-
${
name
}
"]`
;
};
$details
.
drupalSetSummary
(
function
()
{
$details
.
drupalSetSummary
(
function
summary
()
{
const
directivesElementSelector
=
createPolicyElementSelector
(
'
directives
'
);
const
directiveCount
=
$details
.
find
(
@@ -67,7 +67,7 @@
.
find
(
'
input[data-drupal-selector="edit-enforce-directives-upgrade-insecure-requests-enable"]
'
,
)
.
on
(
'
change
'
,
function
()
{
.
on
(
'
change
'
,
function
onChange
()
{
$mixedContent
.
prop
(
'
checked
'
,
false
);
});
},
Loading
This change doesn't need to be added to an unrelated issue just to appease eslint