diff options
Diffstat (limited to 'install/ui/facet.js')
-rw-r--r-- | install/ui/facet.js | 12 |
1 files changed, 12 insertions, 0 deletions
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; }; |