diff options
Diffstat (limited to 'install/static/sudocmd.js')
-rwxr-xr-x | install/static/sudocmd.js | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/install/static/sudocmd.js b/install/static/sudocmd.js index edfc27d00..864063f62 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; } |