summaryrefslogtreecommitdiffstats
path: root/install/ui/automount.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-19 21:04:57 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-23 15:29:26 +0000
commit060eea5f03eefb731ed6991cbdf811212e730b24 (patch)
tree4338148e6d188c0fced63078a26db322062c1619 /install/ui/automount.js
parentad37727150abecb19a55fe7ae18bccb3a63052b9 (diff)
downloadfreeipa-060eea5f03eefb731ed6991cbdf811212e730b24.tar.gz
freeipa-060eea5f03eefb731ed6991cbdf811212e730b24.tar.xz
freeipa-060eea5f03eefb731ed6991cbdf811212e730b24.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/automount.js')
-rw-r--r--install/ui/automount.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/install/ui/automount.js b/install/ui/automount.js
index 72ced6322..a4fe166e1 100644
--- a/install/ui/automount.js
+++ b/install/ui/automount.js
@@ -183,7 +183,8 @@ IPA.entity_factories.automountkey = function() {
build();
};
-IPA.automount_key_column = function(spec){
+IPA.automount_key_column = function(spec) {
+
var that = IPA.column(spec);
that.setup = function(container, record) {
@@ -193,7 +194,7 @@ IPA.automount_key_column = function(spec){
$('<a/>', {
href: '#'+key,
- html: key,
+ text: key,
click: function() {
var state = IPA.nav.get_path_state(that.entity_name);
state[that.entity_name + '-facet'] = 'default';