diff options
Diffstat (limited to 'install/ui/sudocmdgroup.js')
-rw-r--r-- | install/ui/sudocmdgroup.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/install/ui/sudocmdgroup.js b/install/ui/sudocmdgroup.js index 6cb2b83dc..c0ce2aa08 100644 --- a/install/ui/sudocmdgroup.js +++ b/install/ui/sudocmdgroup.js @@ -22,7 +22,7 @@ /* REQUIRES: ipa.js, details.js, search.js, add.js, entity.js */ -IPA.sudocmdgroup = function () { +IPA.entity_factories.sudocmdgroup = function () { var that = IPA.entity({ 'name': 'sudocmdgroup' @@ -41,8 +41,7 @@ IPA.sudocmdgroup = function () { 'title': 'Add New SUDO Command Group' }); that.add_dialog(dialog); - dialog.init(); - + var facet = IPA.sudocmdgroup_search_facet({ 'name': 'search', 'label': 'Search' @@ -61,9 +60,6 @@ IPA.sudocmdgroup = function () { }; -IPA.add_entity(IPA.sudocmdgroup()); - - IPA.sudocmdgroup_add_dialog = function (spec) { spec = spec || {}; |