diff options
author | Endi S. Dewata <edewata@redhat.com> | 2010-11-18 20:17:14 -0600 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2010-11-19 16:53:30 -0500 |
commit | 379a9cc41f04d36538aee11839c1222d408b4f99 (patch) | |
tree | 266b4f51f95a60921ce7b15df5698cb1bfb4f96b /install/static/hbacsvc.js | |
parent | d4f25453e116ca132208e99d5e320500efbe5d9c (diff) | |
download | freeipa.git-379a9cc41f04d36538aee11839c1222d408b4f99.tar.gz freeipa.git-379a9cc41f04d36538aee11839c1222d408b4f99.tar.xz freeipa.git-379a9cc41f04d36538aee11839c1222d408b4f99.zip |
SUDO Rule Search and Details Pages
The search and details pages for SUDO Rule have been added. Codes
that are shared with HBAC have been moved to rule.js.
The following methods were renamed for consistency:
- ipa_details_load() -> ipa_details_refresh()
- ipa_details_display() -> ipa_details_load()
The ipa_details_cache has been removed because the cache is now
stored in each widget.
The index.xhtml has been removed. All references to it has been
changed to index.html.
The Unselect All checkbox has been fixed. Unnecessary parameter
'container' has been removed.
The unit test has been updated and new test data has been added.
Diffstat (limited to 'install/static/hbacsvc.js')
-rwxr-xr-x | install/static/hbacsvc.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/install/static/hbacsvc.js b/install/static/hbacsvc.js index 8f75addb..012c92a3 100755 --- a/install/static/hbacsvc.js +++ b/install/static/hbacsvc.js @@ -96,9 +96,10 @@ function ipa_hbacsvc_search_facet(spec) { that.create = function(container) { - var that = this; + var entity_container = $('#' + that.entity_name); + var action_panel = $('.action-panel', entity_container); - var ul = $('.action-panel ul'); + var ul = $('ul', action_panel); $('<li/>', { title: 'hbac', |