From 5d2b0fecd57b18b647ff9f243196cf98ead2d9fd Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 2 Aug 2012 17:37:12 +0200 Subject: Attribute facet Created new type of facet: attribute facet. This facet is similar to association facet but it serves for displaying object's multivalued attributes which behaves like association attributes. It will serve as a basis for displaying group's externalmember attribute. https://fedorahosted.org/freeipa/ticket/2895 --- install/ui/entity.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'install/ui/entity.js') diff --git a/install/ui/entity.js b/install/ui/entity.js index 49f30b0b2..d474ad95b 100644 --- a/install/ui/entity.js +++ b/install/ui/entity.js @@ -420,6 +420,15 @@ IPA.entity_builder = function() { return that; }; + that.attribute_facet = function(spec) { + + spec.type = spec.type || 'attribute'; + + that.facet(spec); + + return that; + }; + that.standard_association_facets = function(spec) { spec = spec || {}; -- cgit