summaryrefslogtreecommitdiffstats
path: root/install/ui/dns.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-26 16:21:25 -0500
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-04-27 15:45:07 +0000
commitf256b8857faff7627ba8b6a6df03b3b5cd294f91 (patch)
tree2b3bf1cc501759a4d078a6e23e4e3e65c5b67beb /install/ui/dns.js
parent000ba0531e2c650d337966790604e4600e814436 (diff)
downloadfreeipa-f256b8857faff7627ba8b6a6df03b3b5cd294f91.tar.gz
freeipa-f256b8857faff7627ba8b6a6df03b3b5cd294f91.tar.xz
freeipa-f256b8857faff7627ba8b6a6df03b3b5cd294f91.zip
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.
Diffstat (limited to 'install/ui/dns.js')
-rw-r--r--install/ui/dns.js2
1 files changed, 1 insertions, 1 deletions
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;