diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-07 16:14:58 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-04-11 16:03:30 +0000 |
commit | f0f83a862eee908c308c25561a18f8b1e218c081 (patch) | |
tree | 3060f7656e414b1e41e75fe442726f8b36cb825d /install/ui/test/entity_tests.js | |
parent | 960e730f3eebfa4609461bd2cb6506bc7f80741b (diff) | |
download | freeipa-f0f83a862eee908c308c25561a18f8b1e218c081.tar.gz freeipa-f0f83a862eee908c308c25561a18f8b1e218c081.tar.xz freeipa-f0f83a862eee908c308c25561a18f8b1e218c081.zip |
Refactored action panel and client area.
To improve code readability and extensibility the containers for action
panel and client area are now created in IPA.entity.setup(). The 'client area'
has been renamed into 'content'. The IPA.facet.create() has been renamed to
IPA.facet.create_content().
Diffstat (limited to 'install/ui/test/entity_tests.js')
-rw-r--r-- | install/ui/test/entity_tests.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/install/ui/test/entity_tests.js b/install/ui/test/entity_tests.js index 86e44cd67..0adc091fd 100644 --- a/install/ui/test/entity_tests.js +++ b/install/ui/test/entity_tests.js @@ -74,7 +74,13 @@ test('Testing IPA.entity_set_search_definition().', function() { var facet = entity.get_facet('search'); facet.init(); - facet.create(entities_container); + + var content = $('<div/>', { + 'class': 'content' + }).appendTo(entities_container); + + facet.create_content(content); + facet.setup(entities_container); |