summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/dialog.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/src/freeipa/dialog.js')
-rw-r--r--install/ui/src/freeipa/dialog.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/dialog.js b/install/ui/src/freeipa/dialog.js
index f2326b32..a553814f 100644
--- a/install/ui/src/freeipa/dialog.js
+++ b/install/ui/src/freeipa/dialog.js
@@ -97,6 +97,11 @@ IPA.dialog = function(spec) {
that.close_on_escape = spec.close_on_escape !== undefined ?
spec.close_on_escape : true;
+ // FIXME: remove facet reference
+ // Purpose of facet reference is to obtain pkeys or ability to reload
+ // facet. Such usage makes the code more spaghetti. It should be replaced.
+ that.facet = spec.facet;
+
that.widgets = IPA.widget_container();
that.fields = IPA.field_container({ container: that });
that.buttons = $.ordered_map();