diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2011-11-29 13:36:07 +0100 |
---|---|---|
committer | Endi S. Dewata <edewata@redhat.com> | 2011-12-05 16:01:44 +0000 |
commit | ab667912cf19d17e749d13b1d9f428ab6ae55b93 (patch) | |
tree | 2b00e180d2830a6bd673b83179141a6f355e3c17 /install/ui/association.js | |
parent | fdee0892f12c98f5d03396c0d70e73d69b1a5ada (diff) | |
download | freeipa-ab667912cf19d17e749d13b1d9f428ab6ae55b93.tar.gz freeipa-ab667912cf19d17e749d13b1d9f428ab6ae55b93.tar.xz freeipa-ab667912cf19d17e749d13b1d9f428ab6ae55b93.zip |
Code cleanup of HBAC, Sudo rules
https://fedorahosted.org/freeipa/ticket/1515
Diffstat (limited to 'install/ui/association.js')
-rw-r--r-- | install/ui/association.js | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/install/ui/association.js b/install/ui/association.js index 553966eb9..7db91ef9c 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(); |