summaryrefslogtreecommitdiffstats
path: root/install/ui/association.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/association.js')
-rw-r--r--install/ui/association.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/install/ui/association.js b/install/ui/association.js
index 553966eb..7db91ef9 100644
--- a/install/ui/association.js
+++ b/install/ui/association.js
@@ -432,6 +432,7 @@ IPA.association_table_widget = function (spec) {
$('.action-button', that.table).addClass('action-button-disabled');
that.unselect_all();
}
+ that.enabled = enabled;
};
that.select_changed = function() {
@@ -483,11 +484,13 @@ IPA.association_table_widget = function (spec) {
that.load = function(result) {
that.values = result[that.name] || [];
- that.reset();
+ that.update();
that.unselect_all();
};
- that.update = function() {
+ that.update = function(values) {
+
+ if(values) that.values = values;
that.empty();