From 1cc4e061bb2a59f2003d5e8ae514ae4407800222 Mon Sep 17 00:00:00 2001
From: Andrey Kleshchev <andreykproductengine@lindenlab.com>
Date: Tue, 6 Sep 2022 21:46:47 +0300
Subject: [PATCH] SL-18097 Don't permit multiple instances of 'unsaved changes'
 popups

Make notifications modal. When multiple ones are visible, first popup works, interacting with second one causes a crash. And it shouldn't be possible to change anything in floater when these notifications are visible
---
 indra/newview/skins/default/xui/en/notifications.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/indra/newview/skins/default/xui/en/notifications.xml b/indra/newview/skins/default/xui/en/notifications.xml
index 1297366b4b3..1ddec936688 100644
--- a/indra/newview/skins/default/xui/en/notifications.xml
+++ b/indra/newview/skins/default/xui/en/notifications.xml
@@ -1521,7 +1521,7 @@ Delete pick &lt;nolink&gt;[PICK]&lt;/nolink&gt;?
   <notification
    icon="alert.tga"
    name="ProfileUnpublishedClassified"
-   type="alert">
+   type="alertmodal">
     You have unpublished classifieds. They will be lost if you close the window.
     <tag>confirm</tag>
     <usetemplate
@@ -1533,7 +1533,7 @@ Delete pick &lt;nolink&gt;[PICK]&lt;/nolink&gt;?
   <notification
    icon="alert.tga"
    name="ProfileUnsavedChanges"
-   type="alert">
+   type="alertmodal">
     You have usaved changes.
     <tag>confirm</tag>
     <tag>save</tag>
-- 
GitLab