summaryrefslogtreecommitdiffstats
path: root/install/ui/ipa.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-10 11:54:02 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-09-23 13:13:46 +0000
commiteb9d9634da5d089441b773df0968432e8300b0d2 (patch)
treea277f885c3eb377840dc9bd76a9c86590d3ab5ca /install/ui/ipa.js
parentb8461e8d5661fbae86e0fb9c6dc85554704a4f0a (diff)
downloadfreeipa-eb9d9634da5d089441b773df0968432e8300b0d2.tar.gz
freeipa-eb9d9634da5d089441b773df0968432e8300b0d2.tar.xz
freeipa-eb9d9634da5d089441b773df0968432e8300b0d2.zip
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
Diffstat (limited to 'install/ui/ipa.js')
-rw-r--r--install/ui/ipa.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/ui/ipa.js b/install/ui/ipa.js
index f71de82a5..ca081dc0d 100644
--- a/install/ui/ipa.js
+++ b/install/ui/ipa.js
@@ -281,6 +281,10 @@ IPA.command = function(spec) {
that.args.push(arg);
};
+ that.add_args = function(args) {
+ $.merge(that.args, args);
+ };
+
that.set_option = function(name, value) {
that.options[name] = value;
};