summaryrefslogtreecommitdiffstats
path: root/install/ui/service.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/service.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/service.js')
-rw-r--r--install/ui/service.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/service.js b/install/ui/service.js
index daf4e6212..f76af900c 100644
--- a/install/ui/service.js
+++ b/install/ui/service.js
@@ -127,8 +127,8 @@ IPA.service_add_dialog = function(spec) {
field(
IPA.checkbox_widget({
name: 'force',
- label: IPA.get_method_param('service_add', 'force').label,
- tooltip: IPA.get_method_param('service_add', 'force').doc,
+ label: IPA.get_method_option('service_add', 'force').label,
+ tooltip: IPA.get_method_option('service_add', 'force').doc,
undo: false
}));