mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Prevent modal clos on mouse press up if outside the dialog
This commit is contained in:
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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue