Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xwiki-platform
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
XWiki
xwiki-platform
Commits
af120d51
Commit
af120d51
authored
3 months ago
by
Marius Dumitru Florea
Browse files
Options
Downloads
Patches
Plain Diff
XWIKI-22205: Underline inline link in CSRF confirmation Panel
* Fix the build (cherry picked from commit
db2320de
)
parent
3d672022
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/actionbuttons/actionButtons.js
+1
-2
1 addition, 2 deletions
.../webapp/resources/js/xwiki/actionbuttons/actionButtons.js
with
1 addition
and
2 deletions
xwiki-platform-core/xwiki-platform-web/xwiki-platform-web-war/src/main/webapp/resources/js/xwiki/actionbuttons/actionButtons.js
+
1
−
2
View file @
af120d51
...
...
@@ -528,14 +528,13 @@ var XWiki = (function(XWiki) {
var
content
=
new
Element
(
'
div
'
,
{
'
class
'
:
'
modal-popup
'
,
'
id
'
:
'
csrf-warning-modal
'
});
var
buttonsDiv
=
new
Element
(
'
div
'
);
// the confirmation message contains some double quotes that should be escaped.
content
.
insert
(
"
<p>$services.localization.render('csrf.confirmation.status')</p>
"
+
"
<p>$services.localization.render('csrf.confirmation.possibleReasons.description')</p>
"
+
"
<ul><li>$services.localization.render('csrf.confirmation.possibleReasons.firstReason')</li>
"
+
"
<li>$services.localization.render('csrf.confirmation.possibleReasons.secondReason')</li>
"
+
"
<li>$services.localization.render('csrf.confirmation.possibleReasons.thirdReason')</li></ul>
"
+
"
<p class='force-underline'>
"
+
"
$services.localization.render('csrf.confirmation.unsure', [
"
<
a
href
=
'
http://jira.xwiki.org/
'
>
"
,
"
<
/a>
"
]
)
"
+
"
$services.localization.render('csrf.confirmation.unsure', [
'
<a href=
\"
http://jira.xwiki.org/
\"
>'
,
'
</a>
'
])
"
+
"
</p>
"
+
"
<p>$services.localization.render('csrf.confirmation.question', ['<strong>', '</strong>'])</p>
"
);
content
.
insert
(
new
Element
(
'
br
'
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment