summaryrefslogtreecommitdiffstats
path: root/install/ui/aci.js
diff options
context:
space:
mode:
authorEndi Sukma Dewata <edewata@redhat.com>2011-11-18 19:47:39 -0600
committerEndi S. Dewata <edewata@redhat.com>2011-12-06 22:08:07 +0000
commitcaa9d52666e5beb7321dc6c80820eeacca356077 (patch)
tree01b91c26442e559632afbf652968c0dbd9c0291b /install/ui/aci.js
parenta8ea42bda841c8773d68886614faf9efd38e33bd (diff)
downloadfreeipa-caa9d52666e5beb7321dc6c80820eeacca356077.tar.gz
freeipa-caa9d52666e5beb7321dc6c80820eeacca356077.tar.xz
freeipa-caa9d52666e5beb7321dc6c80820eeacca356077.zip
Refactored facet.load().
The load() in IPA.facet has been modified to accept the complete data returned by the server instead of just the result. This is needed by HBAC Test to access other attributes returned in the test result. Ticket #388
Diffstat (limited to 'install/ui/aci.js')
-rw-r--r--install/ui/aci.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/ui/aci.js b/install/ui/aci.js
index 8e9e5433b..30f5de792 100644
--- a/install/ui/aci.js
+++ b/install/ui/aci.js
@@ -716,7 +716,7 @@ IPA.permission_target_policy = function (widget_name) {
for (var i=0; i<targets.length; i++) {
var target = targets[i];
- if(data[target]) {
+ if(data.result.result[target]) {
that.select_target(target);
} else {
that.set_target_visible(target, false);