summaryrefslogtreecommitdiffstats
path: root/install/static
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2010-09-16 17:31:21 -0400
committerAdam Young <ayoung@redhat.com>2010-09-17 19:42:40 -0400
commit7233127eca290f6d315f534f2f89a714b89fb6d7 (patch)
treec250e30036605dcfad02be0ac30a58b8b7513fbe /install/static
parent95035f7d6c077cfcb4c86debd9a94ec76f109486 (diff)
downloadfreeipa-7233127eca290f6d315f534f2f89a714b89fb6d7.tar.gz
freeipa-7233127eca290f6d315f534f2f89a714b89fb6d7.tar.xz
freeipa-7233127eca290f6d315f534f2f89a714b89fb6d7.zip
unbroke the facets link
Diffstat (limited to 'install/static')
-rw-r--r--install/static/entity.js11
1 files changed, 5 insertions, 6 deletions
diff --git a/install/static/entity.js b/install/static/entity.js
index 7aec565ac..3c48ca8f5 100644
--- a/install/static/entity.js
+++ b/install/static/entity.js
@@ -134,16 +134,15 @@ function ipa_entity_generate_views(obj_name, container)
//TODO replace the plus image with the correct image for each facet
ul.append($('<li></li>', {
title: 'search',
+ text: 'Search',
click: switch_view
- })).append('<img src="plus-enabled.png"/>')
- .append('Search') ;
+ }).prepend('<img src="plus-enabled.png"/>'));
ul.append($('<li></li>', {
text: 'Details',
title: 'details',
click: switch_view
- })).append('<img src="plus-enabled.png"/>')
- .append('Details') ;
+ }).prepend('<img src="plus-enabled.png"/>'));
var attribute_members = ipa_objs[obj_name].attribute_members;
for (attr in attribute_members) {
@@ -154,9 +153,9 @@ function ipa_entity_generate_views(obj_name, container)
ul.append($('<li></li>', {
title: m,
+ text:label,
click: switch_view
- })).append('<img src="plus-enabled.png"/>')
- .append(label);
+ }).prepend('<img src="plus-enabled.png"/>'));
}
}