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
This commit is contained in:
Endi Sukma Dewata
2011-11-18 19:47:39 -06:00
committed by Endi S. Dewata
parent a8ea42bda8
commit caa9d52666
15 changed files with 454 additions and 420 deletions

View File

@@ -32,10 +32,7 @@ IPA.user.entity = function(spec) {
that.init = function() {
that.entity_init();
var link = true;
if (IPA.nav && IPA.nav.name == 'self-service') {
link = false;
}
var link = IPA.nav.name == 'self-service' ? false : undefined;
that.builder.search_facet({
columns: [