diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-03-22 17:53:04 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-03-29 17:12:20 +0100 |
commit | 04325fbb4c64ee4aef6d8c9adf0ff95b8b653101 (patch) | |
tree | ea424198852f81e1b08695f93a65b2ec343b5052 /install/ui/src/freeipa/rule.js | |
parent | 5f26d2c6dbe878518963b5d8f9159ed3fcc71d58 (diff) | |
download | freeipa.git-04325fbb4c64ee4aef6d8c9adf0ff95b8b653101.tar.gz freeipa.git-04325fbb4c64ee4aef6d8c9adf0ff95b8b653101.tar.xz freeipa.git-04325fbb4c64ee4aef6d8c9adf0ff95b8b653101.zip |
Nestable checkbox/radio widget
New component: option_widget_base. It's not a regular widget but it share some of its characteristics. It should extend regular widget or it can be nested in itself alone.
checkbox_widget, checkboxes_widget, radio_widget were modified to use it.
Built as a prerequisite for:
https://fedorahosted.org/freeipa/ticket/3404
Diffstat (limited to 'install/ui/src/freeipa/rule.js')
-rw-r--r-- | install/ui/src/freeipa/rule.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/rule.js b/install/ui/src/freeipa/rule.js index 888fd450..436e934c 100644 --- a/install/ui/src/freeipa/rule.js +++ b/install/ui/src/freeipa/rule.js @@ -43,7 +43,8 @@ IPA.rule_details_widget = function(spec) { that.enable_radio.value_changed.attach(that.on_enable_radio_changed); }; - that.on_enable_radio_changed = function(value) { + that.on_enable_radio_changed = function() { + var value = that.enable_radio.save(); if(value.length > 0) { var enabled = ('' === value[0]); for (var i=0; i<that.tables.length; i++) { |