summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install/ui/src/freeipa/widget.js1
-rw-r--r--install/ui/src/freeipa/widgets/ContainerMixin.js2
2 files changed, 3 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/widget.js b/install/ui/src/freeipa/widget.js
index cfa9417c5..8dbfe124b 100644
--- a/install/ui/src/freeipa/widget.js
+++ b/install/ui/src/freeipa/widget.js
@@ -5747,6 +5747,7 @@ exp.activity_widget = IPA.activity_widget = function(spec) {
exp.pre_op = function(spec, context) {
if (context.facet) spec.facet = context.facet;
+ if (context.parent) spec.parent = context.parent;
if (context.entity) spec.entity = context.entity;
return spec;
};
diff --git a/install/ui/src/freeipa/widgets/ContainerMixin.js b/install/ui/src/freeipa/widgets/ContainerMixin.js
index 906d26266..82214b94f 100644
--- a/install/ui/src/freeipa/widgets/ContainerMixin.js
+++ b/install/ui/src/freeipa/widgets/ContainerMixin.js
@@ -147,6 +147,8 @@ define(['dojo/_base/declare',
this.widgets = ordered_map();
var builder_spec = spec.widget_builder || widget_mod.widget_builder;
this.widget_builder = builder.build(null, builder_spec);
+ this.widget_builder.widget_options = this.widget_builder.widget_options || {};
+ this.widget_builder.widget_options.parent = this;
}
});