From 390d017e321fd5ed56af094cf1f1c74f64e95735 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Sat, 10 Sep 2011 11:54:02 -0500 Subject: Modified dialog to use sections. The IPA.dialog has been modified to store sections instead of fields. If there is no sections specified, it will create a default section. The adder dialog for automount map has been modified such that the fields related to indirect map are stored in a section which will only be visible when the map type is set to indirect. The adder dialog for host has been modified such that it uses a custom section for hostname and DNS zone and standard section for the other fields. Ticket #1394 --- install/ui/test/aci_tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/test') diff --git a/install/ui/test/aci_tests.js b/install/ui/test/aci_tests.js index acb4e7da..10b76aef 100644 --- a/install/ui/test/aci_tests.js +++ b/install/ui/test/aci_tests.js @@ -152,7 +152,7 @@ test("Testing type target.", function() { $("input[type=checkbox]").attr("checked",true); var response_record = {}; target_section.save(response_record); - same(response_record.type, sample_data_filter_only.type, + same(response_record.type[0], sample_data_filter_only.type, "saved type matches sample data"); ok((response_record.attrs.length > 10), "response length shows some attrs set"); @@ -180,7 +180,7 @@ test("Testing subtree target.", function() { target_section.load(sample_data); var record = {}; target_section.save(record); - same(record.subtree, sample_data.subtree, 'subtree set correctly'); + same(record.subtree[0], sample_data.subtree, 'subtree set correctly'); }); -- cgit