Moved adder dialog box into entity.

The adder dialog box definition has been moved from search facet
into entity to make it accessible from other facets.
This commit is contained in:
Endi S. Dewata
2011-04-18 10:59:50 -05:00
committed by Endi Sukma Dewata
parent bc6f9accd9
commit 3528b4eca3
16 changed files with 159 additions and 140 deletions

View File

@@ -30,8 +30,7 @@ IPA.entity_factories.automountlocation = function() {
return IPA.entity_builder().
entity('automountlocation').
search_facet({
columns:['cn'],
add_fields:['cn']
columns:['cn']
}).
details_facet({sections:[{
name:'identity',
@@ -39,6 +38,9 @@ IPA.entity_factories.automountlocation = function() {
fields:['cn']
}]}).
standard_association_facets().
adder_dialog({
fields:['cn']
}).
build();
};