Prevent modal clos on mouse press up if outside the dialog

This commit is contained in:
venkat_karasani
2024-07-13 12:22:27 -05:00
committed by Bill Thornton
parent b9dea3a788
commit 2ed3aced2f
2 changed files with 28 additions and 21 deletions
@@ -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) {