diff options
Diffstat (limited to 'install/static/sudocmd.js')
-rwxr-xr-x | install/static/sudocmd.js | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/install/static/sudocmd.js b/install/static/sudocmd.js index 0e335627e..3ad71eb52 100755 --- a/install/static/sudocmd.js +++ b/install/static/sudocmd.js @@ -90,25 +90,10 @@ function ipa_sudocmd_search_facet(spec) { that.create = function(container) { - var action_panel = that.get_action_panel(); - - var ul = $('ul', action_panel); - - $('<li/>', { - title: 'sudorule', - text: 'SUDO Rules' - }).prependTo(ul); - - $('<li/>', { - title: 'sudocmdgroup', - text: 'SUDO Command Groups' - }).appendTo(ul); - that.search_facet_create(container); - // TODO: replace with IPA.metadata[that.entity_name].label container.children().last().prepend( - $('<h2/>', { 'html': 'SUDO Commands' })); + $('<h2/>', { 'html': IPA.metadata.sudocmd.label })); container.children().last().prepend('<br/><br/>'); }; |