summaryrefslogtreecommitdiffstats
path: root/install/static/sudocmd.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/sudocmd.js')
-rwxr-xr-xinstall/static/sudocmd.js32
1 files changed, 0 insertions, 32 deletions
diff --git a/install/static/sudocmd.js b/install/static/sudocmd.js
index edfc27d0..864063f6 100755
--- a/install/static/sudocmd.js
+++ b/install/static/sudocmd.js
@@ -86,38 +86,6 @@ function ipa_sudocmd_search_facet(spec) {
that.search_facet_init();
};
- that.create = function(container) {
-
- that.search_facet_create(container);
-
- container.children().last().prepend(
- $('<h2/>', { 'html': IPA.metadata.sudocmd.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=sudocmdgroup]', action_panel);
- li.click(function() {
- var state = {};
- state['sudorule-entity'] = 'sudocmdgroup';
- nav_push_state(state);
- return false;
- });
- };
-
return that;
}