From e3ec1fb7efb12c3669855b6c388f196c268680ee Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Mon, 11 Apr 2011 20:22:38 -0500 Subject: 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. --- install/ui/widget.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'install/ui/widget.js') diff --git a/install/ui/widget.js b/install/ui/widget.js index fa102737..744e6ed4 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); $('', { - type: 'text', + type: that.type, name: that.name, disabled: that.disabled, size: that.size, -- cgit