mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Readonly alert now has an id
in order to be interacted with (browser side).
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user