diff options
Diffstat (limited to 'install/ui/sudo.js')
-rw-r--r-- | install/ui/sudo.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/install/ui/sudo.js b/install/ui/sudo.js index 0f830acaa..e9e978be0 100644 --- a/install/ui/sudo.js +++ b/install/ui/sudo.js @@ -450,8 +450,9 @@ IPA.sudorule_details_facet = function (spec) { for (var i=0; i<that.sections.length; i++) { var section = that.sections[i]; - for (var j=0; j<section.fields.length; j++) { - var field = section.fields[j]; + var section_fields = section.fields.values; + for (var j=0; j<section_fields.length; j++) { + var field = section_fields[j]; var span = $('span[name='+field.name+']', section.container).first(); var values = field.save(); @@ -1097,7 +1098,8 @@ IPA.sudo.rule_association_adder_dialog = function (spec) { name: 'available' }); - that.available_table.set_columns(that.columns); + var columns = that.columns.values; + that.available_table.set_columns(columns); that.available_table.init(); @@ -1105,7 +1107,7 @@ IPA.sudo.rule_association_adder_dialog = function (spec) { name: 'selected' }); - that.selected_table.set_columns(that.columns); + that.selected_table.set_columns(columns); that.selected_table.init(); |