Fix WebUI crash when server installed as CA-less

https://fedorahosted.org/freeipa/ticket/3235
This commit is contained in:
Petr Vobornik 2013-04-29 14:36:56 +02:00
parent 242a090807
commit 13ad7da19a

View File

@ -947,6 +947,8 @@ IPA.cert.status_field = function(spec) {
exp.create_cert_metadata = function() {
if (!IPA.cert.is_enabled()) return null;
var add_param = function(name, label, doc, primary_key) {
entity.takes_params.push({
name: name,