summaryrefslogtreecommitdiffstats
path: root/install/ui/dialog.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-04-11 20:22:38 -0500
committerEndi Sukma Dewata <edewata@people01.fedoraproject.org>2011-04-14 23:05:09 +0000
commite3ec1fb7efb12c3669855b6c388f196c268680ee (patch)
tree9a582745ccbb71444fe20aa668f461dbd47329f8 /install/ui/dialog.js
parent805b94f22d42eddee42ed8772aca89036edb8399 (diff)
downloadfreeipa-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/dialog.js')
-rw-r--r--install/ui/dialog.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/install/ui/dialog.js b/install/ui/dialog.js
index 964d5f5fc..08fba4580 100644
--- a/install/ui/dialog.js
+++ b/install/ui/dialog.js
@@ -105,6 +105,9 @@ IPA.dialog = function(spec) {
};
that.init = function() {
+
+ that.entity = IPA.get_entity(that.entity_name);
+
for (var i=0; i<that.fields.length; i++) {
var field = that.fields[i];
field.entity_name = that.entity_name;