diff options
Diffstat (limited to 'install/ui/dialog.js')
-rw-r--r-- | install/ui/dialog.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/install/ui/dialog.js b/install/ui/dialog.js index c3efc25a..1b2f3192 100644 --- a/install/ui/dialog.js +++ b/install/ui/dialog.js @@ -36,6 +36,7 @@ IPA.dialog = function(spec) { that._entity_name = spec.entity_name; that.width = spec.width || '400px'; + that.height = spec.height; that.buttons = {}; @@ -173,7 +174,11 @@ IPA.dialog = function(spec) { */ that.open = function(container) { - that.container = $('<div/>').appendTo(container); + that.container = $('<div/>'); + + if (container) { + container.append(that.container); + } if (that.template) { var template = IPA.get_template(that.template); |