summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-14 17:04:07 -0500
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-01-15 04:46:43 +0000
commit6650dbf6a47f162db3e874c187fce693a362517f (patch)
tree610187d083717f67c8cd5928749b8c269ff907da /install
parent285ee9db0ccdac92e0b2b7253483111a5152a465 (diff)
downloadfreeipa-6650dbf6a47f162db3e874c187fce693a362517f.tar.gz
freeipa-6650dbf6a47f162db3e874c187fce693a362517f.tar.xz
freeipa-6650dbf6a47f162db3e874c187fce693a362517f.zip
no entry for search if the search facet is selected, don't put an entry in the action panel for the search
Diffstat (limited to 'install')
-rw-r--r--install/static/entity.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/static/entity.js b/install/static/entity.js
index 30c0ea46d..9c58ee3db 100644
--- a/install/static/entity.js
+++ b/install/static/entity.js
@@ -502,19 +502,19 @@ IPA. facet_create_action_panel = function(container) {
do not have search*/
if (entity.facets.length > 0 ){
if ( entity.facets[0].name === IPA.current_facet( entity)){
- main_facet.text( IPA.metadata[entity_name].label);
- main_facet.removeClass('back-to-search');
- main_facet.appendTo(ul);
ul.append($('<li><span class="action-controls"/></li>'));
+
}else{
main_facet.html(
$('<span />',{
- "class":"input_link"
+ "class":"input_link"
}).
append(IPA.back_icon + ' Back to List '));
main_facet.addClass('back-to-search');
main_facet.appendTo(ul);
}
+ ul.append($('<li><hr/></li>'));
+
}
var facet_groups = {};
var li;