diff --git a/install/ui/src/freeipa/plugins/certmap.js b/install/ui/src/freeipa/plugins/certmap.js index ecbe095b9..c613601e9 100644 --- a/install/ui/src/freeipa/plugins/certmap.js +++ b/install/ui/src/freeipa/plugins/certmap.js @@ -8,6 +8,7 @@ define([ 'dojo/_base/declare', 'dojo/Evented', 'dojo/on', + '../certificate', '../navigation', '../field', '../ipa', @@ -19,8 +20,8 @@ define([ // plain imports '../search', '../entity'], - function(lang, declare, Evented, on, navigation, mod_field, IPA, - phases, reg, widget_mod, text, util) { + function(lang, declare, Evented, on, certificate, navigation, + mod_field, IPA, phases, reg, widget_mod, text, util) { /** * Certificate map module * @class @@ -312,6 +313,12 @@ certmap.certmap_multivalued_widget = function (spec) { var widget = widgets[0]; var inner_widgets = widget.widgets.get_widgets(); + var normalize_certs = function(certs) { + for (var k = 0, l = certs.length; k