Skip to content
Snippets Groups Projects
Commit af120d51 authored by Marius Dumitru Florea's avatar Marius Dumitru Florea
Browse files

XWIKI-22205: Underline inline link in CSRF confirmation Panel

* Fix the build

(cherry picked from commit db2320de)
parent 3d672022
No related branches found
No related tags found
No related merge requests found
......@@ -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'));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment