summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ui/aci.js12
1 files changed, 11 insertions, 1 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js
index ba4a22bf1..d65d3f884 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -759,6 +759,13 @@ IPA.permission_target_policy = function (widget_name) {
attribute_field.reset();
};
+ that.update_attrs = function() {
+
+ var type_select = that.permission_target.widgets.get_widget('type');
+ var type = type_select.save()[0];
+ that.set_attrs_type(type);
+ };
+
that.post_create = function() {
that.select_target(that.permission_target.targets[0]);
};
@@ -853,7 +860,10 @@ IPA.permission_target_policy = function (widget_name) {
{
name: 'attrs'
}
- ]
+ ],
+ action: function() {
+ that.update_attrs();
+ }
}
};