From 188cc5c49617ba09d5cbbd6b4e27ec7bcf472d20 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 19 Sep 2011 21:04:57 -0500 Subject: 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 --- install/ui/entity.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'install/ui/entity.js') diff --git a/install/ui/entity.js b/install/ui/entity.js index 1ae233fe..37423601 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -196,6 +196,7 @@ IPA.facet_header = function(spec) { while (entity) { breadcrumb.unshift($('', { + '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); + + $('', { + 'class': 'breadcrumb-element', + text: value + }).appendTo(that.path); } that.title_container.empty(); -- cgit