mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Code cleanup of HBAC, Sudo rules
https://fedorahosted.org/freeipa/ticket/1515
This commit is contained in:
committed by
Endi S. Dewata
parent
fdee0892f1
commit
ab667912cf
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user