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/dns.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install/ui/dns.js') diff --git a/install/ui/dns.js b/install/ui/dns.js index f52a06429..5cb49e55f 100644 --- a/install/ui/dns.js +++ b/install/ui/dns.js @@ -69,7 +69,7 @@ IPA.entity_factories.dnszone = function() { }; IPA.force_dnszone_add_checkbox_widget = function (spec){ - var param_info = IPA.get_method_param('dnszone_add', 'force'); + var param_info = IPA.get_method_option('dnszone_add', 'force'); spec.name = 'force'; spec.label = param_info.label; spec.tooltip = param_info.doc; -- cgit