summaryrefslogtreecommitdiffstats
path: root/install/ui/sudorule.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/sudorule.js')
-rw-r--r--install/ui/sudorule.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/install/ui/sudorule.js b/install/ui/sudorule.js
index 427a368a8..ab4d9ab4f 100644
--- a/install/ui/sudorule.js
+++ b/install/ui/sudorule.js
@@ -22,7 +22,7 @@
/* REQUIRES: ipa.js, details.js, search.js, add.js, entity.js */
-IPA.sudorule = function () {
+IPA.entity_factories.sudorule = function () {
var that = IPA.entity({
'name': 'sudorule'
@@ -35,7 +35,6 @@ IPA.sudorule = function () {
'title': 'Add New Rule'
});
that.add_dialog(dialog);
- dialog.init();
var facet = IPA.sudorule_search_facet({
'name': 'search',
@@ -55,9 +54,6 @@ IPA.sudorule = function () {
};
-IPA.add_entity(IPA.sudorule());
-
-
IPA.sudorule_add_dialog = function (spec) {
spec = spec || {};