From 2ddeebdc78bed839b78c1f21ec5adc775b063bcb Mon Sep 17 00:00:00 2001 From: bruno-ds Date: Fri, 5 Feb 2021 09:50:57 +0100 Subject: [PATCH] Readonly alert now has an id in order to be interacted with (browser side). --- sources/application/WebPage/iTopWebPage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/application/WebPage/iTopWebPage.php b/sources/application/WebPage/iTopWebPage.php index c8765846b..dda017009 100644 --- a/sources/application/WebPage/iTopWebPage.php +++ b/sources/application/WebPage/iTopWebPage.php @@ -754,7 +754,7 @@ JS $sAdminMessage = trim(MetaModel::GetConfig()->Get('access_message')); $sRestrictionTitle = empty($sAdminMessage) ? '' : $sAdminMessage; - $oRestrictionAlert = AlertUIBlockFactory::MakeForWarning($sRestrictionTitle, $sRestrictionMessage) + $oRestrictionAlert = AlertUIBlockFactory::MakeForWarning($sRestrictionTitle, $sRestrictionMessage, 'ibo-access-readonly-alert') ->SetIsClosable(false) ->SetIsCollapsible(false); $oHeader->AddSubBlock($oRestrictionAlert);