From 725e2e46248ee9ab3dae9a523fcd6fda0bd0cff3 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Wed, 26 Oct 2011 01:20:35 -0500 Subject: Merged widget's metadata and param_info. The metadata and param_info attributes in widget have been merged because they are redundant. Ticket #1436 --- install/ui/host.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index 63f45e04..4bf41c40 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); }; -- cgit