diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-05-21 15:24:37 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-06-04 10:45:07 +0200 |
commit | 890151dca823cd06b2d6980e2b255c218a16e6a1 (patch) | |
tree | 4b88a414491924f796892174d8baa92213795ed7 /install/ui/details.js | |
parent | bd36600efee8b06b68262d5bf21285ab724eb797 (diff) | |
download | freeipa-890151dca823cd06b2d6980e2b255c218a16e6a1.tar.gz freeipa-890151dca823cd06b2d6980e2b255c218a16e6a1.tar.xz freeipa-890151dca823cd06b2d6980e2b255c218a16e6a1.zip |
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
Diffstat (limited to 'install/ui/details.js')
-rw-r--r-- | install/ui/details.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/details.js b/install/ui/details.js index 1282912d5..ff8f4409b 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]; |