summaryrefslogtreecommitdiffstats
path: root/install/ui/host.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-19 21:10:18 -0500
committerAdam Young <ayoung@redhat.com>2011-01-27 16:46:44 -0500
commitf904df0f0dfd4734f978cdc3ddf5badabc067ed6 (patch)
treea9da10718ae2982b0f8721cdf7df4bad05532f93 /install/ui/host.js
parent442d6ad30ce1156914e6245aa7502499e50ec0da (diff)
downloadfreeipa-f904df0f0dfd4734f978cdc3ddf5badabc067ed6.tar.gz
freeipa-f904df0f0dfd4734f978cdc3ddf5badabc067ed6.tar.xz
freeipa-f904df0f0dfd4734f978cdc3ddf5badabc067ed6.zip
declarative defintions
Delay the creation of entities until after ipa init is called made the user and group entity definitions declarative removed unused facet from groups adjusted unit tests made review changes: factories are now in an associative array entity init called right after factory init dialogs in entity init fixed type on search
Diffstat (limited to 'install/ui/host.js')
-rw-r--r--install/ui/host.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/install/ui/host.js b/install/ui/host.js
index 422c87a77..453b61788 100644
--- a/install/ui/host.js
+++ b/install/ui/host.js
@@ -24,7 +24,7 @@
/* REQUIRES: ipa.js, details.js, search.js, add.js, entity.js */
-IPA.host = function () {
+IPA.entity_factories.host = function () {
var that = IPA.entity({
'name': 'host'
@@ -47,7 +47,6 @@ IPA.host = function () {
'title': 'Add New Host'
});
that.add_dialog(dialog);
- dialog.init();
var facet = IPA.host_search_facet({
'name': 'search',
@@ -76,9 +75,6 @@ IPA.host = function () {
};
-IPA.add_entity(IPA.host());
-
-
IPA.host_add_dialog = function (spec) {
spec = spec || {};