summaryrefslogtreecommitdiffstats
path: root/install/ui/test/entity_tests.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-17 10:08:34 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:27 +0200
commit5be709bf9d4865486c239584653363c1d85492a6 (patch)
treeb33ef67286459d0397b7e6241f917b6b8a9911a6 /install/ui/test/entity_tests.js
parent5239d3750e9a82028e79ffe95b9280fb606fb47b (diff)
downloadfreeipa.git-5be709bf9d4865486c239584653363c1d85492a6.tar.gz
freeipa.git-5be709bf9d4865486c239584653363c1d85492a6.tar.xz
freeipa.git-5be709bf9d4865486c239584653363c1d85492a6.zip
Builder and registry for actions
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/test/entity_tests.js')
-rw-r--r--install/ui/test/entity_tests.js16
1 files changed, 12 insertions, 4 deletions
diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js
index c9b7a104..5a085f7a 100644
--- a/install/ui/test/entity_tests.js
+++ b/install/ui/test/entity_tests.js
@@ -19,10 +19,16 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-define(['freeipa/ipa', 'freeipa/jquery','freeipa/facet', 'freeipa/facets',
- 'freeipa/entity', 'freeipa/search',
- 'freeipa/details'], function(IPA, $, mod_facet, facets) {
- return function() {
+define([
+ 'freeipa/ipa',
+ 'freeipa/jquery',
+ 'freeipa/facet',
+ 'freeipa/facets',
+ 'freeipa/search',
+ 'freeipa/entity',
+ 'freeipa/details'],
+ function(IPA, $, mod_facet, facets, mod_search) {
+ return function() {
var container;
@@ -31,6 +37,8 @@ module('entity',{
IPA.ajax_options.async = false;
+ mod_search.register();
+
facets.register({
type: 'search',
factory: IPA.search_facet,