summaryrefslogtreecommitdiffstats
path: root/install/static/sudocmdgroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/sudocmdgroup.js')
-rwxr-xr-xinstall/static/sudocmdgroup.js33
1 files changed, 0 insertions, 33 deletions
diff --git a/install/static/sudocmdgroup.js b/install/static/sudocmdgroup.js
index 6ebe8b1c..1fb5e189 100755
--- a/install/static/sudocmdgroup.js
+++ b/install/static/sudocmdgroup.js
@@ -92,39 +92,6 @@ function ipa_sudocmdgroup_search_facet(spec) {
that.search_facet_init();
};
- that.create = function(container) {
-
- that.search_facet_create(container);
-
- container.children().last().prepend(
- $('<h2/>', { 'html': IPA.metadata.sudocmdgroup.label }));
- container.children().last().prepend('<br/><br/>');
-
- };
-
- that.setup = function(container) {
-
- that.search_facet_setup(container);
-
- var action_panel = that.get_action_panel();
-
- var li = $('li[title=sudorule]', action_panel);
- li.click(function() {
- var state = {};
- state['sudorule-entity'] = 'sudorule';
- nav_push_state(state);
- return false;
- });
-
- li = $('li[title=sudocmd]', action_panel);
- li.click(function() {
- var state = {};
- state['sudorule-entity'] = 'sudocmd';
- nav_push_state(state);
- return false;
- });
- };
-
return that;
}