From e9eff2a11c49309a24ab30c48c5b06efbaa88391 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Thu, 5 Apr 2012 13:41:35 -0700 Subject: [PATCH] bug 13582: UI freezes because of pressing Escape key status 13582: resolved fixed reviewed-by: brian --- ui/scripts/ui-custom/instanceWizard.js | 1 + ui/scripts/ui-custom/projects.js | 2 ++ ui/scripts/ui-custom/zoneWizard.js | 1 + 3 files changed, 4 insertions(+) diff --git a/ui/scripts/ui-custom/instanceWizard.js b/ui/scripts/ui-custom/instanceWizard.js index c9848195a12..8faa8cb9b77 100644 --- a/ui/scripts/ui-custom/instanceWizard.js +++ b/ui/scripts/ui-custom/instanceWizard.js @@ -714,6 +714,7 @@ title: _l('label.vm.add'), width: 800, height: 570, + closeOnEscape: false, zIndex: 5000 }) .closest('.ui-dialog').overlay(); diff --git a/ui/scripts/ui-custom/projects.js b/ui/scripts/ui-custom/projects.js index dd6c1fe9d11..e641e9d5e77 100644 --- a/ui/scripts/ui-custom/projects.js +++ b/ui/scripts/ui-custom/projects.js @@ -596,6 +596,7 @@ $selector.dialog({ title: _l('label.select.project'), dialogClass: 'project-selector-dialog', + closeOnEscape: false , width: 420 }).closest('.ui-dialog').overlay(); } @@ -656,6 +657,7 @@ var addProject = function() { pageElems.newProjectForm().dialog({ title: 'New Project', + closeOnEscape: false, width: 760 }).closest('.ui-dialog').overlay(); }; diff --git a/ui/scripts/ui-custom/zoneWizard.js b/ui/scripts/ui-custom/zoneWizard.js index ce2914226b5..cb806572363 100644 --- a/ui/scripts/ui-custom/zoneWizard.js +++ b/ui/scripts/ui-custom/zoneWizard.js @@ -1197,6 +1197,7 @@ return $wizard.dialog({ title: 'Add zone', + closeOnEscape: false, width: 750, height: 665, zIndex: 5000,