From 689fd30b522c1bb77bb6e087bdfca940553fe495 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Thu, 7 Apr 2011 16:14:58 -0500 Subject: Refactored builder interface. The IPA.entity_builder has been modified to take a 'factory' parameter in custom facet's and custom dialog's spec. The IPA.dialog has been modified to take an array of fields in the spec. The IPA.search_facet has been modified to take an array of columns in the spec. --- install/ui/search.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'install/ui/search.js') diff --git a/install/ui/search.js b/install/ui/search.js index bd2c0f166..ad74b812a 100644 --- a/install/ui/search.js +++ b/install/ui/search.js @@ -410,6 +410,16 @@ IPA.search_facet = function(spec) { that.search_facet_create_content = that.create_content; that.search_facet_setup = that.setup; + var columns = spec.columns || []; + for (var i=0; i