diff --git a/install/ui/certificate.js b/install/ui/certificate.js index c5de56c1f..fea7448cd 100755 --- a/install/ui/certificate.js +++ b/install/ui/certificate.js @@ -78,39 +78,27 @@ IPA.cert.get_dialog = function(spec) { spec = spec || {}; - var that = {}; + var that = IPA.dialog(spec); + + that.width = spec.width || 500; + that.height = spec.height || 400; - that.title = spec.title || ''; that.usercertificate = spec.usercertificate || ''; - var dialog = $('
', { - 'title': that.title + that.add_button(IPA.messages.buttons.close, function() { + that.close(); }); - var textarea = $('