From 890151dca823cd06b2d6980e2b255c218a16e6a1 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Mon, 21 May 2012 15:24:37 +0200 Subject: Action panel This patch implements action panel. Action panel is a box located in facet details section which contains actions related to that object/section. In spec file can be configured actions and title used in action panel. Default title is 'Actions'. Actions are specified by their name. They have to be defined in action collection in facet. https://fedorahosted.org/freeipa/ticket/2248 --- install/ui/details.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'install/ui/details.js') diff --git a/install/ui/details.js b/install/ui/details.js index 1282912d..ff8f4409 100644 --- a/install/ui/details.js +++ b/install/ui/details.js @@ -122,7 +122,8 @@ IPA.section_builder = function(spec) { }; that.build_section = function(section_spec, index) { - section_spec.entity = that.entity; + section_spec.entity = that.container.entity; + section_spec.facet = that.container; if (!section_spec.label && section_spec.name) { var obj_messages = IPA.messages.objects[that.container.entity.name]; -- cgit