summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/certificate.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-17 10:08:34 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:27 +0200
commit5be709bf9d4865486c239584653363c1d85492a6 (patch)
treeb33ef67286459d0397b7e6241f917b6b8a9911a6 /install/ui/src/freeipa/certificate.js
parent5239d3750e9a82028e79ffe95b9280fb606fb47b (diff)
downloadfreeipa-5be709bf9d4865486c239584653363c1d85492a6.tar.gz
freeipa-5be709bf9d4865486c239584653363c1d85492a6.tar.xz
freeipa-5be709bf9d4865486c239584653363c1d85492a6.zip
Builder and registry for actions
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/certificate.js')
-rwxr-xr-xinstall/ui/src/freeipa/certificate.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/install/ui/src/freeipa/certificate.js b/install/ui/src/freeipa/certificate.js
index 6965509f6..712d82c91 100755
--- a/install/ui/src/freeipa/certificate.js
+++ b/install/ui/src/freeipa/certificate.js
@@ -1312,12 +1312,19 @@ IPA.register('cert', IPA.cert.entity);
phases.on('registration', function() {
var w = reg.widget;
var f = reg.field;
+ var a = reg.action;
w.register('certificate_status', IPA.cert.status_widget);
f.register('certificate_status', IPA.cert.status_field);
f.register('revocation_reason', IPA.revocation_reason_field);
w.register('revocation_reason', IPA.text_widget);
+
+ a.register('cert_view', IPA.cert.view_action);
+ a.register('cert_get', IPA.cert.get_action);
+ a.register('cert_request', IPA.cert.request_action);
+ a.register('cert_revoke', IPA.cert.revoke_action);
+ a.register('cert_restore', IPA.cert.restore_action);
});
return {};