summaryrefslogtreecommitdiffstats
path: root/install/static/sudocmdgroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/sudocmdgroup.js')
-rwxr-xr-xinstall/static/sudocmdgroup.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/install/static/sudocmdgroup.js b/install/static/sudocmdgroup.js
index 0a193afab..6fddafb15 100755
--- a/install/static/sudocmdgroup.js
+++ b/install/static/sudocmdgroup.js
@@ -109,15 +109,18 @@ function ipa_sudocmdgroup_search_facet(spec) {
var ul = $('ul', action_panel);
+ /*Make sure that these go at the top of the action panel
+ and in the same order as on the other SUDO entity pages */
+ $('<li/>', {
+ title: 'sudocmd',
+ text: 'SUDO Command'
+ }).prependTo(ul);
+
$('<li/>', {
title: 'sudorule',
text: 'SUDO Rules'
- }).appendTo(ul);
+ }).prependTo(ul);
- $('<li/>', {
- title: 'sudocmd',
- text: 'SUDO Command'
- }).appendTo(ul);
that.search_facet_create(container);