diff options
Diffstat (limited to 'install/ui/dialog.js')
-rw-r--r-- | install/ui/dialog.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/install/ui/dialog.js b/install/ui/dialog.js index 28c71ad54..324eb9b93 100644 --- a/install/ui/dialog.js +++ b/install/ui/dialog.js @@ -66,6 +66,8 @@ IPA.dialog = function(spec) { that.title = spec.title; that.width = spec.width || 500; that.height = spec.height; + that.close_on_escape = spec.close_on_escape !== undefined ? + spec.close_on_escape : true; that.widgets = IPA.widget_container(); that.fields = IPA.field_container({ container: that }); @@ -156,6 +158,7 @@ IPA.dialog = function(spec) { that.container.dialog({ title: that.title, modal: true, + closeOnEscape: that.close_on_escape, width: that.width, minWidth: that.width, height: that.height, |