summaryrefslogtreecommitdiffstats
path: root/install/static/netgroup.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/static/netgroup.js')
-rw-r--r--install/static/netgroup.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/install/static/netgroup.js b/install/static/netgroup.js
index 098c65bab..ab69c1b3f 100644
--- a/install/static/netgroup.js
+++ b/install/static/netgroup.js
@@ -21,11 +21,11 @@
/* REQUIRES: ipa.js, details.js, search.js, add.js, entity.js */
IPA.add_entity( function() {
- var that = ipa_entity({
+ var that = IPA.entity({
'name': 'netgroup'
});
that.init = function() {
- var search_facet = ipa_search_facet({
+ var search_facet = IPA.search_facet({
name: 'search',
label: 'Search',
entity_name: that.name
@@ -35,9 +35,9 @@ IPA.add_entity( function() {
that.add_facet(search_facet);
that.add_facet(function() {
- var that = ipa_details_facet({name:'details',label:'Details'});
+ var that = IPA.details_facet({name:'details',label:'Details'});
that.add_section(
- ipa_stanza({name:'identity', label:'Netgroup Details'}).
+ IPA.stanza({name:'identity', label:'Netgroup Details'}).
input({name:'cn'}).
input({name: 'description'}).
input({name:'nisdomainname'}));
@@ -45,14 +45,14 @@ IPA.add_entity( function() {
}());
- var dialog = ipa_add_dialog({
+ var dialog = IPA.add_dialog({
name: 'add',
title: 'Add Netgroup'
});
that.add_dialog(dialog);
- dialog.add_field(ipa_text_widget({ name: 'cn', undo: false}));
- dialog.add_field(ipa_text_widget({ name: 'description', undo: false}));
+ dialog.add_field(IPA.text_widget({ name: 'cn', undo: false}));
+ dialog.add_field(IPA.text_widget({ name: 'description', undo: false}));
dialog.init();
that.create_association_facets();