diff options
author | Endi S. Dewata <edewata@redhat.com> | 2011-04-11 20:22:38 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@people01.fedoraproject.org> | 2011-04-14 23:05:09 +0000 |
commit | e3ec1fb7efb12c3669855b6c388f196c268680ee (patch) | |
tree | 9a582745ccbb71444fe20aa668f461dbd47329f8 /install/ui/widget.js | |
parent | 805b94f22d42eddee42ed8772aca89036edb8399 (diff) | |
download | freeipa-e3ec1fb7efb12c3669855b6c388f196c268680ee.tar.gz freeipa-e3ec1fb7efb12c3669855b6c388f196c268680ee.tar.xz freeipa-e3ec1fb7efb12c3669855b6c388f196c268680ee.zip |
Entitlement registration.
The entitlement facet will show buttons according to the entitlement
status. If it's unregistered, the facet will show a Register button.
If it's registered, the facet will show a Consume button.
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r-- | install/ui/widget.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js index fa102737c..744e6ed4a 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -282,6 +282,7 @@ IPA.text_widget = function(spec) { var that = IPA.widget(spec); that.size = spec.size || 30; + that.type = spec.type || 'text'; that.create = function(container) { @@ -291,7 +292,7 @@ IPA.text_widget = function(spec) { }).appendTo(container); $('<input/>', { - type: 'text', + type: that.type, name: that.name, disabled: that.disabled, size: that.size, |