mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-22 18:18:46 +02:00
N°6219 - 1:n Read: tooltip, modal title and message on Add-Edit-Remove-Delete
This commit is contained in:
@@ -3006,7 +3006,7 @@ JS
|
||||
$oToolbarButtons->AddCSSClass('ibo-toolbar-top');
|
||||
$oObjectDetails->AddToolbarBlock($oToolbarButtons);
|
||||
// Allow form title customization
|
||||
if (array_key_exists('form_title', $aExtraParams)) {
|
||||
if (array_key_exists('form_title', $aExtraParams) && $aExtraParams['form_title'] !== null) {
|
||||
$oObjectDetails->SetTitle($aExtraParams['form_title']);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2322,7 +2322,7 @@ class MenuBlock extends DisplayBlock
|
||||
);
|
||||
|
||||
// creation form title
|
||||
if (array_key_exists('creation_in_modal_form_title', $aExtraParams)) {
|
||||
if (array_key_exists('creation_in_modal_form_title', $aExtraParams) && $aExtraParams['creation_in_modal_form_title'] !== null) {
|
||||
$oAddLinkActionButton->AddDataAttribute('modal-title', $aExtraParams['creation_in_modal_form_title']);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user