summaryrefslogtreecommitdiffstats
path: root/install/ui/test/details_tests.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2011-11-22 17:33:09 +0100
committerEndi S. Dewata <edewata@redhat.com>2011-12-05 16:00:50 +0000
commite0215421208d853e853f9c7b66add1e145982fbc (patch)
treef2d9d495dbe4f839f5b65a3348c0e11f8ac25d9a /install/ui/test/details_tests.js
parent6cdf09812dd13531acb29f1413de87ce7cd5218f (diff)
downloadfreeipa-e0215421208d853e853f9c7b66add1e145982fbc.tar.gz
freeipa-e0215421208d853e853f9c7b66add1e145982fbc.tar.xz
freeipa-e0215421208d853e853f9c7b66add1e145982fbc.zip
Removing sections as special type of object
Sections are changed into pure widget objects. Introduced IPA.composite_widget, basic widget for widget nesting (it's using IPA.widget_container). It's base class for section widgets. TODO: change old custom sections into custom fields and widgets. Note: usage of section in HBAC and SUDO is kept - whole logic will be removed in #1515 patch. https://fedorahosted.org/freeipa/ticket/2040
Diffstat (limited to 'install/ui/test/details_tests.js')
-rw-r--r--install/ui/test/details_tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/test/details_tests.js b/install/ui/test/details_tests.js
index 333464232..bea863e2b 100644
--- a/install/ui/test/details_tests.js
+++ b/install/ui/test/details_tests.js
@@ -64,7 +64,7 @@ test("Testing IPA.details_section.create().", function() {
section.entity_name = 'user';
- var fields = section.fields.values;
+ var fields = section.fields.get_fields();
var container = $("<div/>");
section.create(container);
@@ -276,7 +276,7 @@ test("Testing IPA.details_section_create again()",function(){
text({name:'cn', label:'Entity Name'}).
text({name:'description', label:'Description'}).
text({name:'number', label:'Entity ID'});
- var fields = section.fields.values;
+ var fields = section.fields.get_fields();
var container = $("<div title='entity'/>");
var details = $("<div/>");
container.append(details);