Skip to content

Commit 65ecbca

Browse files
pranavsbfederle
authored andcommitted
Bug : 13582 UI freezes because of pressing Escape key
1 parent a92b98d commit 65ecbca

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

ui/scripts/ui-custom/instanceWizard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,6 +714,7 @@
714714
title: _l('label.vm.add'),
715715
width: 800,
716716
height: 570,
717+
closeOnEscape: false,
717718
zIndex: 5000
718719
})
719720
.closest('.ui-dialog').overlay();

ui/scripts/ui-custom/projects.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,14 +466,14 @@
466466
return $review;
467467
});
468468

469-
$(':ui-dialog').dialog('option', 'position', 'center');
469+
$(':ui-dialog').dialog('option', 'position', 'center',closeOnEscape: false);
470470
});
471471
$laterButton.html(_l('label.close')).appendTo($userManagement);
472472

473473
return $userManagement;
474474
});
475475

476-
$(':ui-dialog').dialog('option', 'position', 'center');
476+
$(':ui-dialog').dialog('option', 'position', 'center',closeOnEscape: false);
477477

478478
return false;
479479
});
@@ -596,6 +596,7 @@
596596
$selector.dialog({
597597
title: _l('label.select.project'),
598598
dialogClass: 'project-selector-dialog',
599+
closeOnEscape: false ,
599600
width: 420
600601
}).closest('.ui-dialog').overlay();
601602
}
@@ -656,6 +657,7 @@
656657
var addProject = function() {
657658
pageElems.newProjectForm().dialog({
658659
title: 'New Project',
660+
closeOnEscape: false,
659661
width: 760
660662
}).closest('.ui-dialog').overlay();
661663
};

ui/scripts/ui-custom/zoneWizard.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,6 +1197,7 @@
11971197

11981198
return $wizard.dialog({
11991199
title: 'Add zone',
1200+
closeOnEscape: false,
12001201
width: 750,
12011202
height: 665,
12021203
zIndex: 5000,

0 commit comments

Comments
 (0)