From 7233127eca290f6d315f534f2f89a714b89fb6d7 Mon Sep 17 00:00:00 2001 From: Adam Young Date: Thu, 16 Sep 2010 17:31:21 -0400 Subject: unbroke the facets link --- install/static/entity.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'install/static/entity.js') diff --git a/install/static/entity.js b/install/static/entity.js index 7aec565a..3c48ca8f 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($('
  • ', { title: 'search', + text: 'Search', click: switch_view - })).append('') - .append('Search') ; + }).prepend('')); ul.append($('
  • ', { text: 'Details', title: 'details', click: switch_view - })).append('') - .append('Details') ; + }).prepend('')); 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($('
  • ', { title: m, + text:label, click: switch_view - })).append('') - .append(label); + }).prepend('')); } } -- cgit