mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fixed problem displaying special characters.
Some jQuery objects in various locations have been modified to use text() to show values obtained from the server (except messages). The text() will automatically encode special characters. Ticket #1798
This commit is contained in:
@@ -196,6 +196,7 @@ IPA.facet_header = function(spec) {
|
||||
|
||||
while (entity) {
|
||||
breadcrumb.unshift($('<a/>', {
|
||||
'class': 'breadcrumb-element',
|
||||
text: IPA.nav.get_state(entity.name+'-pkey'),
|
||||
title: entity.name,
|
||||
click: function(entity) {
|
||||
@@ -217,7 +218,11 @@ IPA.facet_header = function(spec) {
|
||||
}
|
||||
|
||||
that.path.append(' » ');
|
||||
that.path.append(value);
|
||||
|
||||
$('<span>', {
|
||||
'class': 'breadcrumb-element',
|
||||
text: value
|
||||
}).appendTo(that.path);
|
||||
}
|
||||
|
||||
that.title_container.empty();
|
||||
|
||||
Reference in New Issue
Block a user