From f256b8857faff7627ba8b6a6df03b3b5cd294f91 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Tue, 26 Apr 2011 16:21:25 -0500 Subject: Entitlement quantity validation. The widget base class has been modified to validate integer value if the type is specified in the metadata. This is used to validate entitlement quantity. --- install/ui/host.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/ui/host.js') diff --git a/install/ui/host.js b/install/ui/host.js index 44479de6..bd694ee6 100644 --- a/install/ui/host.js +++ b/install/ui/host.js @@ -122,7 +122,7 @@ IPA.utc_date_column_format = function(value){ IPA.force_host_add_checkbox_widget = function (spec){ - var param_info = IPA.get_method_param('host_add', 'force'); + var param_info = IPA.get_method_option('host_add', 'force'); spec.name = 'force'; spec.label = param_info.label; spec.tooltip = param_info.doc; -- cgit