Prevent modal clos on mouse press up if outside the dialog
This commit is contained in:
committed by
Bill Thornton
parent
b9dea3a788
commit
2ed3aced2f
@@ -1058,7 +1058,10 @@ function show(itemId, serverId, resolve) {
|
||||
centerFocus(dlg.querySelector('.formDialogContent'), false, true);
|
||||
}
|
||||
|
||||
dialogHelper.open(dlg);
|
||||
dialogHelper.open(dlg, {
|
||||
preventCloseOnClick : true,
|
||||
preventCloseOnRightClick : true
|
||||
});
|
||||
|
||||
dlg.addEventListener('close', function () {
|
||||
if (layoutManager.tv) {
|
||||
|
||||
Reference in New Issue
Block a user