From 9276e51bce438b0686deac827fce2ca60a5301e1 Mon Sep 17 00:00:00 2001 From: Endi Sukma Dewata Date: Mon, 21 Nov 2011 16:43:52 -0600 Subject: Fixed navigation buttons for HBAC Test. The Back, Next, and New Test buttons in HBAC Test have been fixed to work properly. Ticket #388 --- install/ui/facet.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'install/ui/facet.js') diff --git a/install/ui/facet.js b/install/ui/facet.js index 65ac71ee..4ffd43dc 100644 --- a/install/ui/facet.js +++ b/install/ui/facet.js @@ -702,6 +702,18 @@ IPA.facet_group = function(spec) { return that.facets.get(name); }; + that.get_facet_index = function(name) { + return that.facets.get_key_index(name); + }; + + that.get_facet_by_index = function(index) { + return that.facets.get_value_by_index(index); + }; + + that.get_facet_count = function(index) { + return that.facets.length; + }; + return that; }; -- cgit