diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-09-19 21:04:57 -0500 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-09-23 15:27:17 +0000 |
commit | 188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20 (patch) | |
tree | d9a6d28065b01fba819f3dbc0d8975af6069ae36 /install/ui/entity.js | |
parent | 4487a9564b42cdedf6bb4a84134286a131583494 (diff) | |
download | freeipa-188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20.tar.gz freeipa-188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20.tar.xz freeipa-188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20.zip |
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
Diffstat (limited to 'install/ui/entity.js')
-rw-r--r-- | install/ui/entity.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/install/ui/entity.js b/install/ui/entity.js index 1ae233fe4..374236011 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -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(); |