mirror of https://github.com/apache/cloudstack.git
Bug : 13582 UI freezes because of pressing Escape key
This commit is contained in:
parent
a92b98d790
commit
65ecbcae0b
|
|
@ -714,6 +714,7 @@
|
|||
title: _l('label.vm.add'),
|
||||
width: 800,
|
||||
height: 570,
|
||||
closeOnEscape: false,
|
||||
zIndex: 5000
|
||||
})
|
||||
.closest('.ui-dialog').overlay();
|
||||
|
|
|
|||
|
|
@ -466,14 +466,14 @@
|
|||
return $review;
|
||||
});
|
||||
|
||||
$(':ui-dialog').dialog('option', 'position', 'center');
|
||||
$(':ui-dialog').dialog('option', 'position', 'center',closeOnEscape: false);
|
||||
});
|
||||
$laterButton.html(_l('label.close')).appendTo($userManagement);
|
||||
|
||||
return $userManagement;
|
||||
});
|
||||
|
||||
$(':ui-dialog').dialog('option', 'position', 'center');
|
||||
$(':ui-dialog').dialog('option', 'position', 'center',closeOnEscape: false);
|
||||
|
||||
return false;
|
||||
});
|
||||
|
|
@ -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();
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1197,6 +1197,7 @@
|
|||
|
||||
return $wizard.dialog({
|
||||
title: 'Add zone',
|
||||
closeOnEscape: false,
|
||||
width: 750,
|
||||
height: 665,
|
||||
zIndex: 5000,
|
||||
|
|
|
|||
Loading…
Reference in New Issue