summaryrefslogtreecommitdiffstats
path: root/install/ui/host.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-10-26 01:20:35 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-10-27 13:48:17 +0000
commit725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3 (patch)
treec089597fbd4cd9671b9362a6f0fcb9c5f8515df0 /install/ui/host.js
parent6af5755de595cc85b1f878710f834f43a23bf41c (diff)
downloadfreeipa-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.gz
freeipa-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.tar.xz
freeipa-725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3.zip
Merged widget's metadata and param_info.
The metadata and param_info attributes in widget have been merged because they are redundant. Ticket #1436
Diffstat (limited to 'install/ui/host.js')
-rw-r--r--install/ui/host.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/install/ui/host.js b/install/ui/host.js
index 63f45e043..4bf41c402 100644
--- a/install/ui/host.js
+++ b/install/ui/host.js
@@ -153,12 +153,12 @@ IPA.entity_factories.host = function () {
{
factory: IPA.text_widget,
name: 'ip_address',
- param_info: IPA.get_method_option('host_add', 'ip_address')
+ metadata: IPA.get_method_option('host_add', 'ip_address')
},
{
factory: IPA.force_host_add_checkbox_widget,
name: 'force',
- param_info: IPA.get_method_option('host_add', 'force')
+ metadata: IPA.get_method_option('host_add', 'force')
}
]
}
@@ -411,9 +411,9 @@ IPA.utc_date_column_format = function(value){
IPA.force_host_add_checkbox_widget = function(spec) {
- var param_info = IPA.get_method_option('host_add', spec.name);
- spec.label = param_info.label;
- spec.tooltip = param_info.doc;
+ var metadata = IPA.get_method_option('host_add', spec.name);
+ spec.label = metadata.label;
+ spec.tooltip = metadata.doc;
return IPA.checkbox_widget(spec);
};