Fixed certificate buttons.

The certificate buttons including Get, View, Revoke, Restore for hosts
and services have been fixed to use the correct entity name.

Ticket #1556
This commit is contained in:
Endi S. Dewata
2011-08-02 10:26:12 -05:00
committed by Adam Young
parent 6f6679e348
commit 4c9359ab62
3 changed files with 5 additions and 11 deletions

View File

@@ -432,9 +432,6 @@ IPA.host_certificate_status_widget = function (spec) {
var that = IPA.cert.status_widget(spec);
that.entity_label = that.entity.metadata.label_singular;
that.get_entity_pkey = function(result) {
var values = result['fqdn'];
return values ? values[0] : null;